fastapi-sqlalchemy-toolkit 0.6.11__tar.gz → 0.6.12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/PKG-INFO +1 -1
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/fastapi_sqlalchemy_toolkit/model_manager.py +2 -2
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/pyproject.toml +1 -1
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/.flake8 +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/.github/workflows/python-publish.yml +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/.gitignore +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/.pylintrc +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/AUTHORS +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/LICENSE +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/README.md +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/.env +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/__init__.py +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/api/__init__.py +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/api/api.py +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/api/endpoints/__init__.py +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/api/endpoints/child.py +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/config.py +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/db.py +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/deps.py +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/main.py +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/managers.py +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/models.py +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/schemas.py +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/fastapi_sqlalchemy_toolkit/__init__.py +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/fastapi_sqlalchemy_toolkit/filters.py +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/fastapi_sqlalchemy_toolkit/ordering.py +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/fastapi_sqlalchemy_toolkit/utils.py +0 -0
- {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/requirements.txt +0 -0
|
@@ -213,7 +213,7 @@ class ModelManager(Generic[ModelT, CreateSchemaT, UpdateSchemaT]):
|
|
|
213
213
|
attrs_str = ", ".join(
|
|
214
214
|
[f"{key}={value}" for key, value in simple_filters.items()]
|
|
215
215
|
)
|
|
216
|
-
if where:
|
|
216
|
+
if where is not None:
|
|
217
217
|
attrs_str += f", {where}"
|
|
218
218
|
raise HTTPException(
|
|
219
219
|
status_code=status.HTTP_404_NOT_FOUND,
|
|
@@ -283,7 +283,7 @@ class ModelManager(Generic[ModelT, CreateSchemaT, UpdateSchemaT]):
|
|
|
283
283
|
attrs_str = ", ".join(
|
|
284
284
|
[f"{key}={value}" for key, value in simple_filters.items()]
|
|
285
285
|
)
|
|
286
|
-
if where:
|
|
286
|
+
if where is not None:
|
|
287
287
|
attrs_str += f", {where}"
|
|
288
288
|
raise HTTPException(
|
|
289
289
|
status_code=status.HTTP_404_NOT_FOUND,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/__init__.py
RENAMED
|
File without changes
|
{fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/api/__init__.py
RENAMED
|
File without changes
|
{fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/api/api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/config.py
RENAMED
|
File without changes
|
|
File without changes
|
{fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/deps.py
RENAMED
|
File without changes
|
{fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/main.py
RENAMED
|
File without changes
|
{fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/managers.py
RENAMED
|
File without changes
|
{fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/models.py
RENAMED
|
File without changes
|
{fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/schemas.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|