u-toolkit 0.1.9__tar.gz → 0.1.10__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 (41) hide show
  1. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/PKG-INFO +1 -1
  2. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/pyproject.toml +1 -1
  3. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/fastapi/responses.py +2 -1
  4. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/.github/workflows/publish.yml +0 -0
  5. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/.gitignore +0 -0
  6. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/README.md +0 -0
  7. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/__init__.py +0 -0
  8. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/alias_generators.py +0 -0
  9. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/datetime.py +0 -0
  10. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/decorators.py +0 -0
  11. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/enum.py +0 -0
  12. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/fastapi/__init__.py +0 -0
  13. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/fastapi/cbv.py +0 -0
  14. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/fastapi/config.py +0 -0
  15. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/fastapi/exception.py +0 -0
  16. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/fastapi/helpers.py +0 -0
  17. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/fastapi/lifespan.py +0 -0
  18. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/fastapi/pagination.py +0 -0
  19. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/function.py +0 -0
  20. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/helpers.py +0 -0
  21. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/logger.py +0 -0
  22. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/merge.py +0 -0
  23. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/object.py +0 -0
  24. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/path.py +0 -0
  25. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/pydantic/__init__.py +0 -0
  26. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/pydantic/fields.py +0 -0
  27. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/pydantic/models.py +0 -0
  28. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/pydantic/type_vars.py +0 -0
  29. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/signature.py +0 -0
  30. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/sqlalchemy/__init__.py +0 -0
  31. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/sqlalchemy/fields.py +0 -0
  32. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/sqlalchemy/function.py +0 -0
  33. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/sqlalchemy/orm/__init__.py +0 -0
  34. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/sqlalchemy/orm/fields.py +0 -0
  35. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/sqlalchemy/orm/models.py +0 -0
  36. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/sqlalchemy/table_info.py +0 -0
  37. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/src/u_toolkit/sqlalchemy/type_vars.py +0 -0
  38. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/tests/__init__.py +0 -0
  39. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/tests/fastapi/__init__.py +0 -0
  40. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/tests/fastapi/test_cbv.py +0 -0
  41. {u_toolkit-0.1.9 → u_toolkit-0.1.10}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: u-toolkit
3
- Version: 0.1.9
3
+ Version: 0.1.10
4
4
  Summary: Add your description here
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: pydantic>=2.11.3
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "u-toolkit"
3
- version = "0.1.9"
3
+ version = "0.1.10"
4
4
  description = "Add your description here"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -13,7 +13,7 @@ def _merge_responses(
13
13
  model_class = response.get("model")
14
14
  if status in source:
15
15
  source_model_class = source[status].get("model")
16
- if source_model_class is not None:
16
+ if source_model_class and model_class:
17
17
  target[status]["model"] = model_class | source_model_class
18
18
 
19
19
  for status, response in source.items():
@@ -59,6 +59,7 @@ def build_responses(*responses: Response):
59
59
  status = arg
60
60
  else:
61
61
  errors.append(arg)
62
+ continue
62
63
 
63
64
  result[status] = {"model": response}
64
65
 
File without changes
File without changes
File without changes
File without changes