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.
Files changed (28) hide show
  1. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/PKG-INFO +1 -1
  2. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/fastapi_sqlalchemy_toolkit/model_manager.py +2 -2
  3. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/pyproject.toml +1 -1
  4. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/.flake8 +0 -0
  5. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/.github/workflows/python-publish.yml +0 -0
  6. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/.gitignore +0 -0
  7. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/.pylintrc +0 -0
  8. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/AUTHORS +0 -0
  9. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/LICENSE +0 -0
  10. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/README.md +0 -0
  11. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/.env +0 -0
  12. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/__init__.py +0 -0
  13. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/api/__init__.py +0 -0
  14. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/api/api.py +0 -0
  15. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/api/endpoints/__init__.py +0 -0
  16. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/api/endpoints/child.py +0 -0
  17. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/config.py +0 -0
  18. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/db.py +0 -0
  19. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/deps.py +0 -0
  20. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/main.py +0 -0
  21. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/managers.py +0 -0
  22. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/models.py +0 -0
  23. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/examples/app/schemas.py +0 -0
  24. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/fastapi_sqlalchemy_toolkit/__init__.py +0 -0
  25. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/fastapi_sqlalchemy_toolkit/filters.py +0 -0
  26. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/fastapi_sqlalchemy_toolkit/ordering.py +0 -0
  27. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/fastapi_sqlalchemy_toolkit/utils.py +0 -0
  28. {fastapi_sqlalchemy_toolkit-0.6.11 → fastapi_sqlalchemy_toolkit-0.6.12}/requirements.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fastapi_sqlalchemy_toolkit
3
- Version: 0.6.11
3
+ Version: 0.6.12
4
4
  Summary: FastAPI SQLAlchemy Toolkit
5
5
  Project-URL: Homepage, https://github.com/e-kondr01/fastapi-sqlalchemy-toolkit
6
6
  Author-email: Egor Kondrashov <e.kondr01@gmail.com>
@@ -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,
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "fastapi_sqlalchemy_toolkit"
7
- version = "0.6.11"
7
+ version = "0.6.12"
8
8
  authors = [
9
9
  { name="Egor Kondrashov", email="e.kondr01@gmail.com" },
10
10
  ]