finish API development
This commit is contained in:
1 parent
a224445038
commit
ec96465a96
22 files changed
+80
-50
No files matched your search
@@ -1,7 +1,7 @@
|
||||
# Validation utilities with unified exception handling
|
||||
|
||||
import re
|
||||
from typing import Any, Optional, List, Dict
|
||||
from typing import Any, Optional, List, Dict, Tuple
|
||||
from services.common.exceptions import ValidationException, NotFoundException
|
||||
|
||||
|
||||
@@ -122,7 +122,7 @@ class ValidationUtils:
|
||||
return url
|
||||
|
||||
@staticmethod
|
||||
def validate_pagination(page: Any, page_size: Any) -> tuple[int, int]:
|
||||
def validate_pagination(page: Any, page_size: Any) -> Tuple[int, int]:
|
||||
"""
|
||||
Validate pagination parameters
|
||||
|
||||
|
||||
Reference in new issue
Block a user