Cq

Latest version: v0.13

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.13

============

- Fixed `Repository.get_aggregate` method (it now properly raises `DoesNotExist` error if there were
no events yet for given `aggregate_id`)
- Added `Repository.get_aggregate_or_None` method

0.12

============

- Allow to register handlers for all events or all events for certain aggregate type

0.11

============

- Fixed `Storage.gen_replay_events` (it was not yielding events)

0.10

============

- Added ability to validate events
- Added `Storage.gen_replay_events` so user can i.e. follow progress of
events being replayed

0.9

===========

- Added ability to replay events (use `Storage.replay_events()` function)
- Added ability to upcast events
- `Storage.get_events` now accepts both `aggregate_type` and `aggregate_id`
- Renamed `cq.handlers.publish` to `cq.handlers.handle_event`
- Repositories can now be declared using `repos` dictionary at the `BaseApp` subclasses
- Implemented `Storage.iter_all_events` method

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.