hexkit 3.2.1__tar.gz → 3.2.2__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 (53) hide show
  1. {hexkit-3.2.1/src/hexkit.egg-info → hexkit-3.2.2}/PKG-INFO +1 -1
  2. {hexkit-3.2.1 → hexkit-3.2.2}/pyproject.toml +1 -1
  3. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/mongokafka/provider.py +1 -1
  4. {hexkit-3.2.1 → hexkit-3.2.2/src/hexkit.egg-info}/PKG-INFO +1 -1
  5. {hexkit-3.2.1 → hexkit-3.2.2}/LICENSE +0 -0
  6. {hexkit-3.2.1 → hexkit-3.2.2}/MANIFEST.in +0 -0
  7. {hexkit-3.2.1 → hexkit-3.2.2}/README.md +0 -0
  8. {hexkit-3.2.1 → hexkit-3.2.2}/setup.cfg +0 -0
  9. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/__init__.py +0 -0
  10. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/__main__.py +0 -0
  11. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/base.py +0 -0
  12. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/config.py +0 -0
  13. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/correlation.py +0 -0
  14. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/custom_types.py +0 -0
  15. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/log.py +0 -0
  16. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/protocols/__init__.py +0 -0
  17. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/protocols/dao.py +0 -0
  18. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/protocols/daopub.py +0 -0
  19. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/protocols/daosub.py +0 -0
  20. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/protocols/eventpub.py +0 -0
  21. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/protocols/eventsub.py +0 -0
  22. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/protocols/objstorage.py +0 -0
  23. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/__init__.py +0 -0
  24. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/akafka/__init__.py +0 -0
  25. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/akafka/config.py +0 -0
  26. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/akafka/provider/__init__.py +0 -0
  27. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/akafka/provider/daosub.py +0 -0
  28. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/akafka/provider/eventpub.py +0 -0
  29. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/akafka/provider/eventsub.py +0 -0
  30. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/akafka/provider/utils.py +0 -0
  31. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/akafka/testcontainer.py +0 -0
  32. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/akafka/testutils.py +0 -0
  33. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/mongodb/__init__.py +0 -0
  34. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/mongodb/provider.py +0 -0
  35. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/mongodb/testutils.py +0 -0
  36. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/mongokafka/__init__.py +0 -0
  37. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/mongokafka/testutils.py +0 -0
  38. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/s3/__init__.py +0 -0
  39. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/s3/provider.py +0 -0
  40. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/s3/test_files/__init__.py +0 -0
  41. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/s3/test_files/test_file1.yaml +0 -0
  42. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/s3/test_files/test_file2.yaml +0 -0
  43. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/s3/test_files/test_file3.yaml +0 -0
  44. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/s3/test_files/test_file4.yaml +0 -0
  45. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/s3/testutils.py +0 -0
  46. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/testing/__init__.py +0 -0
  47. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/providers/testing/eventpub.py +0 -0
  48. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/py.typed +0 -0
  49. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit/utils.py +0 -0
  50. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit.egg-info/SOURCES.txt +0 -0
  51. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit.egg-info/dependency_links.txt +0 -0
  52. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit.egg-info/requires.txt +0 -0
  53. {hexkit-3.2.1 → hexkit-3.2.2}/src/hexkit.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hexkit
3
- Version: 3.2.1
3
+ Version: 3.2.2
4
4
  Summary: A Toolkit for Building Microservices using the Hexagonal Architecture
5
5
  Author-email: "German Human Genome Phenome Archive (GHGA)" <contact@ghga.de>
6
6
  License: Apache 2.0
@@ -23,7 +23,7 @@ classifiers = [
23
23
  "Intended Audience :: Developers",
24
24
  ]
25
25
  name = "hexkit"
26
- version = "3.2.1"
26
+ version = "3.2.2"
27
27
  description = "A Toolkit for Building Microservices using the Hexagonal Architecture"
28
28
  dependencies = [
29
29
  "pydantic >=2, <3",
@@ -251,7 +251,7 @@ class MongoKafkaDaoPublisher(Generic[Dto]):
251
251
  """
252
252
  correlation_id = get_correlation_id()
253
253
  document = self._dao._dto_to_document(dto)
254
- document["__metadata__.correlation_id"] = correlation_id
254
+ document.setdefault("__metadata__", {})["correlation_id"] = correlation_id
255
255
  result = await self._collection.replace_one(
256
256
  {"_id": document["_id"], "__metadata__.deleted": False}, document
257
257
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hexkit
3
- Version: 3.2.1
3
+ Version: 3.2.2
4
4
  Summary: A Toolkit for Building Microservices using the Hexagonal Architecture
5
5
  Author-email: "German Human Genome Phenome Archive (GHGA)" <contact@ghga.de>
6
6
  License: Apache 2.0
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