Skip to content

python-cqrs 5.1.0 — optional SQLModel storage

Choose a tag to compare

@vadikko2 vadikko2 released this 13 Oct 11:55
129d3c2

Summary

Optional SQLModel outbox and saga storage, alongside the existing SQLAlchemy implementations (closes #96). Package version 5.1.0.

SQLModel

  • New extra [sqlmodel] with SqlModelOutboxedEventRepository and SqlModelSagaStorage
  • 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]"

Links