diff --git a/src/__pycache__/__init__.cpython-311.pyc b/src/__pycache__/__init__.cpython-311.pyc index a55b27f..426c248 100644 Binary files a/src/__pycache__/__init__.cpython-311.pyc and b/src/__pycache__/__init__.cpython-311.pyc differ diff --git a/src/__pycache__/config.cpython-311.pyc b/src/__pycache__/config.cpython-311.pyc index 33be3f6..e587d90 100644 Binary files a/src/__pycache__/config.cpython-311.pyc and b/src/__pycache__/config.cpython-311.pyc differ diff --git a/src/__pycache__/enums.cpython-311.pyc b/src/__pycache__/enums.cpython-311.pyc index 8d88bbf..1c7f55d 100644 Binary files a/src/__pycache__/enums.cpython-311.pyc and b/src/__pycache__/enums.cpython-311.pyc differ diff --git a/src/__pycache__/models.cpython-311.pyc b/src/__pycache__/models.cpython-311.pyc index 0af1c15..cda0557 100644 Binary files a/src/__pycache__/models.cpython-311.pyc and b/src/__pycache__/models.cpython-311.pyc differ diff --git a/src/auth/__pycache__/__init__.cpython-311.pyc b/src/auth/__pycache__/__init__.cpython-311.pyc index 224f452..e42b5d5 100644 Binary files a/src/auth/__pycache__/__init__.cpython-311.pyc and b/src/auth/__pycache__/__init__.cpython-311.pyc differ diff --git a/src/auth/__pycache__/model.cpython-311.pyc b/src/auth/__pycache__/model.cpython-311.pyc index e8edab1..628300a 100644 Binary files a/src/auth/__pycache__/model.cpython-311.pyc and b/src/auth/__pycache__/model.cpython-311.pyc differ diff --git a/src/auth/__pycache__/service.cpython-311.pyc b/src/auth/__pycache__/service.cpython-311.pyc index d361941..496ac29 100644 Binary files a/src/auth/__pycache__/service.cpython-311.pyc and b/src/auth/__pycache__/service.cpython-311.pyc differ diff --git a/src/models.py b/src/models.py index 00135bd..456374b 100644 --- a/src/models.py +++ b/src/models.py @@ -108,9 +108,9 @@ class CommonParams(DefaultBase): query_str: Optional[str] = Field(None, alias="q") search: Optional[str] = Field(None, description="Search keyword") filter_spec: Optional[str] = Field(None, alias="filter") - sort_by: List[str] = Field(default_factory=list, alias="sortBy[]") - descending: List[bool] = Field(default_factory=list, alias="descending[]") - exclude: List[str] = Field(default_factory=list, alias="exclude[]") + sort_by: List[str] = Field(default=[], alias="sortBy[]") + descending: List[bool] = Field(default=[], alias="descending[]") + exclude: List[str] = Field(default=[], alias="exclude[]") all_params: int = Field(0, alias="all") @model_validator(mode="before")