statikk 0.1.26__tar.gz → 0.1.28__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 (43) hide show
  1. {statikk-0.1.26 → statikk-0.1.28}/PKG-INFO +1 -1
  2. {statikk-0.1.26 → statikk-0.1.28}/src/statikk/engine.py +1 -2
  3. {statikk-0.1.26 → statikk-0.1.28}/src/statikk.egg-info/PKG-INFO +1 -1
  4. {statikk-0.1.26 → statikk-0.1.28}/.coveragerc +0 -0
  5. {statikk-0.1.26 → statikk-0.1.28}/.gitignore +0 -0
  6. {statikk-0.1.26 → statikk-0.1.28}/.readthedocs.yml +0 -0
  7. {statikk-0.1.26 → statikk-0.1.28}/AUTHORS.rst +0 -0
  8. {statikk-0.1.26 → statikk-0.1.28}/CHANGELOG.rst +0 -0
  9. {statikk-0.1.26 → statikk-0.1.28}/CONTRIBUTING.rst +0 -0
  10. {statikk-0.1.26 → statikk-0.1.28}/LICENSE.txt +0 -0
  11. {statikk-0.1.26 → statikk-0.1.28}/README.rst +0 -0
  12. {statikk-0.1.26 → statikk-0.1.28}/assets/favicon.png +0 -0
  13. {statikk-0.1.26 → statikk-0.1.28}/assets/logo.png +0 -0
  14. {statikk-0.1.26 → statikk-0.1.28}/docs/Makefile +0 -0
  15. {statikk-0.1.26 → statikk-0.1.28}/docs/_static/.gitignore +0 -0
  16. {statikk-0.1.26 → statikk-0.1.28}/docs/authors.rst +0 -0
  17. {statikk-0.1.26 → statikk-0.1.28}/docs/changelog.rst +0 -0
  18. {statikk-0.1.26 → statikk-0.1.28}/docs/conf.py +0 -0
  19. {statikk-0.1.26 → statikk-0.1.28}/docs/contributing.rst +0 -0
  20. {statikk-0.1.26 → statikk-0.1.28}/docs/index.rst +0 -0
  21. {statikk-0.1.26 → statikk-0.1.28}/docs/license.rst +0 -0
  22. {statikk-0.1.26 → statikk-0.1.28}/docs/readme.rst +0 -0
  23. {statikk-0.1.26 → statikk-0.1.28}/docs/requirements.txt +0 -0
  24. {statikk-0.1.26 → statikk-0.1.28}/docs/usage.rst +0 -0
  25. {statikk-0.1.26 → statikk-0.1.28}/pyproject.toml +0 -0
  26. {statikk-0.1.26 → statikk-0.1.28}/setup.cfg +0 -0
  27. {statikk-0.1.26 → statikk-0.1.28}/setup.py +0 -0
  28. {statikk-0.1.26 → statikk-0.1.28}/src/statikk/__init__.py +0 -0
  29. {statikk-0.1.26 → statikk-0.1.28}/src/statikk/conditions.py +0 -0
  30. {statikk-0.1.26 → statikk-0.1.28}/src/statikk/expressions.py +0 -0
  31. {statikk-0.1.26 → statikk-0.1.28}/src/statikk/fields.py +0 -0
  32. {statikk-0.1.26 → statikk-0.1.28}/src/statikk/models.py +0 -0
  33. {statikk-0.1.26 → statikk-0.1.28}/src/statikk/typing.py +0 -0
  34. {statikk-0.1.26 → statikk-0.1.28}/src/statikk.egg-info/SOURCES.txt +0 -0
  35. {statikk-0.1.26 → statikk-0.1.28}/src/statikk.egg-info/dependency_links.txt +0 -0
  36. {statikk-0.1.26 → statikk-0.1.28}/src/statikk.egg-info/not-zip-safe +0 -0
  37. {statikk-0.1.26 → statikk-0.1.28}/src/statikk.egg-info/requires.txt +0 -0
  38. {statikk-0.1.26 → statikk-0.1.28}/src/statikk.egg-info/top_level.txt +0 -0
  39. {statikk-0.1.26 → statikk-0.1.28}/tests/conftest.py +0 -0
  40. {statikk-0.1.26 → statikk-0.1.28}/tests/test_engine.py +0 -0
  41. {statikk-0.1.26 → statikk-0.1.28}/tests/test_expressions.py +0 -0
  42. {statikk-0.1.26 → statikk-0.1.28}/tests/test_models.py +0 -0
  43. {statikk-0.1.26 → statikk-0.1.28}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: statikk
3
- Version: 0.1.26
3
+ Version: 0.1.28
4
4
  Summary: statikk is a single table application (STA) library for DynamoDb.
5
5
  Home-page: https://github.com/terinia/statikk
6
6
  Author: Balint Biro
@@ -382,7 +382,7 @@ class Table:
382
382
  ) and FIELD_STATIKK_TYPE not in model_class.index_definitions()[index_name].pk_fields:
383
383
  range_key = BeginsWith(model_class.type())
384
384
  if range_key:
385
- if not model_class.is_nested():
385
+ if not model_class.is_nested() and FIELD_STATIKK_TYPE not in model_class.index_definitions()[index_name].pk_fields:
386
386
  range_key.enrich(model_class=model_class)
387
387
  key_condition = key_condition & range_key.evaluate(index.sort_key.name)
388
388
 
@@ -532,7 +532,6 @@ class Table:
532
532
  continue
533
533
  if value is not None:
534
534
  setattr(item, key, value)
535
- item.model_rebuild(force=True)
536
535
  return item
537
536
 
538
537
  def _serialize_item(self, item: DatabaseModel):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: statikk
3
- Version: 0.1.26
3
+ Version: 0.1.28
4
4
  Summary: statikk is a single table application (STA) library for DynamoDb.
5
5
  Home-page: https://github.com/terinia/statikk
6
6
  Author: Balint Biro
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes