python-cqrs 0.1.2__tar.gz → 0.1.4__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 (48) hide show
  1. {python_cqrs-0.1.2/src/python_cqrs.egg-info → python_cqrs-0.1.4}/PKG-INFO +1 -1
  2. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/pyproject.toml +1 -1
  3. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/dispatcher/dispatcher.py +0 -3
  4. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/requests/request_handler.py +2 -2
  5. {python_cqrs-0.1.2 → python_cqrs-0.1.4/src/python_cqrs.egg-info}/PKG-INFO +1 -1
  6. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/LICENSE +0 -0
  7. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/README.md +0 -0
  8. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/setup.cfg +0 -0
  9. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/__init__.py +0 -0
  10. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/adapters/__init__.py +0 -0
  11. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/adapters/amqp.py +0 -0
  12. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/adapters/kafka.py +0 -0
  13. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/compressors/__init__.py +0 -0
  14. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/compressors/protocol.py +0 -0
  15. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/compressors/zlib.py +0 -0
  16. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/container/__init__.py +0 -0
  17. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/container/di.py +0 -0
  18. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/container/protocol.py +0 -0
  19. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/dispatcher/__init__.py +0 -0
  20. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/events/__init__.py +0 -0
  21. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/events/bootstrap.py +0 -0
  22. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/events/event.py +0 -0
  23. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/events/event_emitter.py +0 -0
  24. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/events/event_handler.py +0 -0
  25. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/events/map.py +0 -0
  26. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/mediator.py +0 -0
  27. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/message_brokers/__init__.py +0 -0
  28. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/message_brokers/amqp.py +0 -0
  29. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/message_brokers/devnull.py +0 -0
  30. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/message_brokers/kafka.py +0 -0
  31. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/message_brokers/protocol.py +0 -0
  32. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/middlewares/__init__.py +0 -0
  33. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/middlewares/base.py +0 -0
  34. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/middlewares/logging.py +0 -0
  35. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/outbox/__init__.py +0 -0
  36. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/outbox/producer.py +0 -0
  37. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/outbox/protocol.py +0 -0
  38. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/outbox/repository.py +0 -0
  39. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/outbox/sqlalchemy.py +0 -0
  40. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/requests/__init__.py +0 -0
  41. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/requests/bootstrap.py +0 -0
  42. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/requests/map.py +0 -0
  43. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/requests/request.py +0 -0
  44. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/cqrs/response.py +0 -0
  45. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/python_cqrs.egg-info/SOURCES.txt +0 -0
  46. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/python_cqrs.egg-info/dependency_links.txt +0 -0
  47. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/python_cqrs.egg-info/requires.txt +0 -0
  48. {python_cqrs-0.1.2 → python_cqrs-0.1.4}/src/python_cqrs.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-cqrs
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: Python CQRS pattern implementation
5
5
  Author-email: Vadim Kozyrevskiy <vadikko2@mail.ru>
6
6
  Maintainer-email: Vadim Kozyrevskiy <vadikko2@mail.ru>
@@ -27,7 +27,7 @@ maintainers = [{name = "Vadim Kozyrevskiy", email = "vadikko2@mail.ru"}]
27
27
  name = "python-cqrs"
28
28
  readme = "README.md"
29
29
  requires-python = ">=3.10"
30
- version = "0.1.2"
30
+ version = "0.1.4"
31
31
 
32
32
  [project.optional-dependencies]
33
33
  dev = [
@@ -64,9 +64,6 @@ class RequestDispatcher:
64
64
  return RequestDispatchResult(response=response, events=handler.events)
65
65
 
66
66
 
67
- E = typing.TypeVar("E", bound=cqrs_events.Event, contravariant=True)
68
-
69
-
70
67
  class EventDispatcher:
71
68
  def __init__(
72
69
  self,
@@ -40,7 +40,7 @@ class RequestHandler(abc.ABC, typing.Generic[_Req, _Resp]):
40
40
 
41
41
  @property
42
42
  @abc.abstractmethod
43
- def events(self) -> list[event.Event]:
43
+ def events(self) -> typing.List[event.Event]:
44
44
  raise NotImplementedError
45
45
 
46
46
  @abc.abstractmethod
@@ -78,7 +78,7 @@ class SyncRequestHandler(abc.ABC, typing.Generic[_Req, _Resp]):
78
78
 
79
79
  @property
80
80
  @abc.abstractmethod
81
- def events(self) -> list[event.Event]:
81
+ def events(self) -> typing.List[event.Event]:
82
82
  raise NotImplementedError
83
83
 
84
84
  @abc.abstractmethod
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-cqrs
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: Python CQRS pattern implementation
5
5
  Author-email: Vadim Kozyrevskiy <vadikko2@mail.ru>
6
6
  Maintainer-email: Vadim Kozyrevskiy <vadikko2@mail.ru>
File without changes
File without changes
File without changes