Repository navigation
python-cqrs 5.1.0 — optional SQLModel storage
Summary
Optional SQLModel outbox and saga storage, alongside the existing SQLAlchemy implementations (closes #96). Package version 5.1.0.
SQLModel
- New extra
[sqlmodel]withSqlModelOutboxedEventRepositoryandSqlModelSagaStorage - Same operations as SQLAlchemy: batch reads, flush budget, codecs, compression, rebind, checkpoint runs, optimistic locking, recovery
- Same DDL on MySQL/MariaDB and PostgreSQL; tables can live on the application's SQLModel metadata
Install
pip install "python-cqrs[sqlmodel]"SQLAlchemy storage is unchanged:
pip install "python-cqrs[sqlalchemy]"