sincpro-framework 3.26.0__tar.gz → 3.28.0__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.
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/PKG-INFO +8 -5
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/README.md +7 -4
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/pyproject.toml +1 -1
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/outcomes/__init__.py +1 -1
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/failures/classification.py +1 -1
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/events.py +3 -14
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/transaction_hooks.py +1 -1
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/cascade.py +119 -6
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/data_mapper.py +16 -2
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/event_mapping.py +5 -9
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/repository_state.py +14 -1
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/unit_of_work.py +1 -1
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/writing.py +13 -3
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/repositories/memory_repository.py +6 -3
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/editing/editing.py +57 -33
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/editing/edits.py +5 -4
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/entity/entity_meta.py +153 -101
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/entity/presentation.py +10 -5
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/events/__init__.py +5 -3
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/events/mixins/deliverable.py +21 -36
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/exceptions.py +28 -1
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/reads/reads.py +106 -8
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/repositories/__init__.py +3 -0
- sincpro_framework-3.28.0/sincpro_framework/ddd/repositories/publication.py +208 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/repositories/repository.py +25 -3
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/cron/registry.py +0 -52
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/fastapi/wire.py +4 -1
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/mcp/mcp.py +3 -3
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/rest/openapi.py +2 -2
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/rpc/jrpc.py +4 -1
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/domain/packed.py +2 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/domain/surface.py +2 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/entrypoint/workers.py +6 -6
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/services/catalog.py +1 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/services/gateway.py +1 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/event_driven/__init__.py +19 -38
- sincpro_framework-3.28.0/sincpro_framework/event_driven/adapters/__init__.py +6 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/event_driven/adapters/aws/queues.py +2 -1
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/event_driven/adapters/background_queue.py +2 -2
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/event_driven/adapters/faststream/__init__.py +2 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/event_driven/adapters/faststream/queue.py +65 -29
- sincpro_framework-3.28.0/sincpro_framework/event_driven/domain/__init__.py +10 -0
- sincpro_framework-3.28.0/sincpro_framework/event_driven/domain/forwarding.py +44 -0
- sincpro_framework-3.28.0/sincpro_framework/event_driven/domain/queue.py +23 -0
- sincpro_framework-3.28.0/sincpro_framework/event_driven/entrypoint/__init__.py +6 -0
- sincpro_framework-3.28.0/sincpro_framework/event_driven/entrypoint/publisher.py +112 -0
- sincpro_framework-3.28.0/sincpro_framework/event_driven/services/__init__.py +4 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/event_driven/services/dispatch.py +1 -1
- sincpro_framework-3.28.0/sincpro_framework/event_driven/services/forwarding.py +202 -0
- sincpro_framework-3.28.0/sincpro_framework/event_driven/services/publication.py +103 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/introspection/__init__.py +3 -0
- sincpro_framework-3.28.0/sincpro_framework/introspection/entity_tags.py +93 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/introspection/inspector.py +5 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/introspection/operations.py +5 -2
- sincpro_framework-3.26.0/sincpro_framework/event_driven/adapters/__init__.py +0 -6
- sincpro_framework-3.26.0/sincpro_framework/event_driven/adapters/repository_queue.py +0 -34
- sincpro_framework-3.26.0/sincpro_framework/event_driven/domain/__init__.py +0 -10
- sincpro_framework-3.26.0/sincpro_framework/event_driven/domain/failure.py +0 -272
- sincpro_framework-3.26.0/sincpro_framework/event_driven/domain/queue.py +0 -24
- sincpro_framework-3.26.0/sincpro_framework/event_driven/domain/relay.py +0 -40
- sincpro_framework-3.26.0/sincpro_framework/event_driven/entrypoint/__init__.py +0 -6
- sincpro_framework-3.26.0/sincpro_framework/event_driven/entrypoint/publisher.py +0 -69
- sincpro_framework-3.26.0/sincpro_framework/event_driven/entrypoint/relay.py +0 -62
- sincpro_framework-3.26.0/sincpro_framework/event_driven/services/__init__.py +0 -4
- sincpro_framework-3.26.0/sincpro_framework/event_driven/services/publication.py +0 -82
- sincpro_framework-3.26.0/sincpro_framework/event_driven/services/relaying.py +0 -252
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/LICENSE.md +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/aio/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/aio/bus.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/aio/bus.pyi +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/adapters/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/adapters/api_key_provider.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/adapters/role_permissions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/adapters/service_token_provider.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/adapters/static_provider.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/domain/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/domain/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/domain/identity.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/domain/permissions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/domain/provider.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/entrypoint/access_control.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/entrypoint/asgi.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/entrypoint/security.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/infrastructure/security_context.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/services/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/auth/services/guard.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus.pyi +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/events.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/incomes/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/incomes/events.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/incomes/incomes.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/incomes/listeners.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/incomes/mixins/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/incomes/mixins/bus_incomes.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/interceptors/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/interceptors/interceptor.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/interceptors/mixins/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/interceptors/mixins/bus_interceptors.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/listeners.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/outcomes/events.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/outcomes/listeners.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/outcomes/mixins/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/outcomes/mixins/bus_outcomes.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/bus_pipeline/outcomes/outcomes.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/circuit_breaker/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/circuit_breaker/circuit_breaker.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/aws/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/aws/clients.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/failures/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/failures/problem.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/ids/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/ids/uuid7.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/naming/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/naming/case.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/naming/registered_name.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/ordering/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/ordering/placement.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/reads/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/reads/noting.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/serialization/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/serialization/values.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/transport/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/common/transport/grpc.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/conf/sincpro_framework_conf.yml +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/adapters/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/adapters/codecs.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/adapters/entries.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/adapters/propagation.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/adapters/stores.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/domain/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/domain/codec.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/domain/drafts.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/domain/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/domain/execution.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/domain/keys.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/domain/level.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/domain/node.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/domain/owner.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/domain/providers.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/domain/sessions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/domain/store.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/domain/travel.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/entrypoint/bus.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/entrypoint/bus_context.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/entrypoint/bus_store.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/entrypoint/executions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/entrypoint/facade.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/entrypoint/propagation.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/entrypoint/providers.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/entrypoint/resolution.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/entrypoint/scopes.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/entrypoint/threads.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/infrastructure/closed_scopes.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/infrastructure/distributed.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/infrastructure/outage.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/infrastructure/shared.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/infrastructure/travel.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/infrastructure/tree.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/services/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/services/drafts.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/services/executions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/services/nodes.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/services/propagation.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/services/providers.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/context/services/sessions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/adapters/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/adapters/eviction.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/adapters/json_codec.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/adapters/key_value_records.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/adapters/keys.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/adapters/observers.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/domain/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/domain/codec.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/domain/eviction.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/domain/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/domain/failure.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/domain/freshness.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/domain/idempotency_records.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/domain/idempotent_command.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/domain/observer.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/domain/policies.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/domain/validation.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/entrypoint/bus_caching.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/entrypoint/facades.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/infrastructure/clock.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/infrastructure/flight.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/services/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/services/cache.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/services/idempotency.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/caching/services/query_caching.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/data_analysis/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/data_analysis/arrow.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/data_analysis/cache.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/data_analysis/frame.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/adapters/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/adapters/in_memory.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/adapters/manifest.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/domain/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/domain/context_migrations.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/domain/engine.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/domain/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/domain/status.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/domain/step.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/entrypoint/command_line.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/entrypoint/orchestrator.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/infrastructure/step_ids.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/services/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/services/authoring.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/services/moves.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/services/system.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/migrations/services/timeline.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/adapters/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/adapters/http_source.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/adapters/in_memory.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/adapters/local.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/adapters/s3_compatible.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/domain/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/domain/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/domain/fetch.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/domain/object_store.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/domain/publication.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/entrypoint/object_storage.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/services/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/services/contents.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/services/ids.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/services/objects.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/services/publications.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/object_storage/services/transfers.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/engine.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/environment/env.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/environment/script.py.mako +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/numbering.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/runtime_use_cases.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/domain/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/domain/consolidation.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/domain/custom_fields.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/domain/relations.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/domain/transaction.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/aggregate_repository.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/idempotency_records.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/mapping.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/repository.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/archive.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/audit.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/entity.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/idempotency.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/numbering.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/properties.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/runtime_use_cases.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/change_tracking.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/database.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/engine_errors.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/flushing.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/in_place_changes.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/mapping_registry.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/observability.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/read_tracking.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/transaction_opening.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/unit_in_play.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/aggregation.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/cache_invalidation.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/extension_mapping.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/extension_typing.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/extension_writing.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/model_introspection.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/relation_resolver.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/sql_translator.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/upsert.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/reading.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/repositories/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/repositories/memory_numbering.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/repositories/memory_unit.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/store/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/store/adapters/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/store/adapters/dynamodb.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/store/adapters/in_memory.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/store/adapters/memcached.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/store/adapters/redis.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/store/domain/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/store/domain/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/store/domain/key_value.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/store/domain/lease.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/store/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/store/infrastructure/client.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/store/services/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/store/services/bypass.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/data_layer/store/services/leases.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/domain/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/domain/criteria.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/domain/expression.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/domain/grouping.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/domain/pagination.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/domain/resolution.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/domain/sort.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/domain/strict.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/domain/values.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/entrypoint/aggregation.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/entrypoint/evaluation.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/entrypoint/resolution.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/services/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/services/axes.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/services/comparison.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/services/dynamic_values.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/services/evaluation.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/criteria/services/reading.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/editing/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/editing/drafts.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/editing/preview.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/entity/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/entity/computed.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/entity/derivations.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/entity/entity.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/entity/entity_collection.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/entity/extensions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/entity/mixins/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/entity/mixins/archivable.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/entity/mixins/audited.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/entity/mixins/event_sourced.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/entity/relations.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/entity/utils/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/entity/utils/annotations.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/events/domain_event.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/events/mixins/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/events/mixins/change_tracking.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/exchange_rates.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/iso_4217.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/money.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/multi_currency.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/multi_language.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/query.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/reads/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/reads/defaults.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/repositories/aggregate_repository.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/repositories/capabilities.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/repositories/fingerprint.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/repositories/hooks.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/repositories/mixins/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/repositories/mixins/change_tracking.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/repositories/numbering.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ddd/value_object.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/dependencies.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/aws_lambda/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/aws_lambda/sqs.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/cron/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/cron/adapters/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/cron/adapters/clocks.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/cron/adapters/in_memory_runs.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/cron/adapters/key_value_runs.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/cron/domain/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/cron/domain/clock.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/cron/domain/cron.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/cron/domain/runs.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/cron/domain/schedule.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/cron/gateway/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/cron/gateway/gateway.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/cron/gateway/process.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/fastapi/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/fastapi/calling.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/fastapi/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/fastapi/problems.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/grpc/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/grpc/client.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/grpc/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/grpc/naming.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/grpc/proto.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/grpc/wire.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/mcp/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/mcp/auth.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/mcp/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/mcp/wire.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/queue/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/queue/channels.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/queue/flavours.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/queue/inbox.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/queue/sqs.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/queue/verdicts.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/queue/wire.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/rest/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/rest/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/rest/routing.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/rest/serving.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/rpc/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/rpc/errors.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/rpc/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/rpc/serving.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/adapters/rpc/wire.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/domain/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/domain/bindings.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/domain/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/domain/layers.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/domain/readiness.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/entrypoint/aws_lambda.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/entrypoint/decorators.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/entrypoint/fastapi.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/entrypoint/grpc.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/entrypoint/mcp.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/entrypoint/queue.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/entrypoint/rest.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/entrypoint/rpc.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/infrastructure/http.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/infrastructure/json_schema.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/infrastructure/registry.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/services/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/services/readiness.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/entrypoints/services/scalar_execution.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/error_handler.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/event_driven/adapters/aws/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/event_driven/adapters/aws/attributes.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/event_driven/adapters/sync_queue.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/event_driven/domain/broker.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/event_driven/domain/envelope.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/event_driven/domain/subscribes.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/event_driven/entrypoint/subscriber.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/ioc.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/api.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/correlation.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/domain.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/errors/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/errors/record_error.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/errors/setup.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/failure.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/field_paths.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/http.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/adapters/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/adapters/in_memory.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/adapters/otel.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/adapters/prometheus.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/domain/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/domain/bus_observability.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/domain/declarations.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/domain/instruments.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/domain/naming.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/domain/recorder.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/entrypoint/facade.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/infrastructure/active.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/infrastructure/registry.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/services/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/services/declaring.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/services/labels.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/services/measuring.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/services/outcomes.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/services/recording.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/metrics/testing.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/mixins/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/mixins/bus_observability.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/otlp.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/registry.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/tracing/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/tracing/attributes.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/tracing/propagation.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/tracing/setup.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/tracing/span_context.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/tracing/span_error.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/observability/tracing/span_execution.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/pipelines/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/pipelines/domain/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/pipelines/domain/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/pipelines/domain/reads.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/pipelines/domain/recipe.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/pipelines/domain/run.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/pipelines/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/pipelines/entrypoint/bus_pipelines.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/pipelines/entrypoint/pipeline.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/pipelines/entrypoint/reads.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/pipelines/services/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/pipelines/services/recorder.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/pipelines/services/runs.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/py.typed +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/registry.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/adapters/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/adapters/grpc.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/adapters/http.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/domain/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/domain/address.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/domain/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/domain/failure_codec.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/domain/payload.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/domain/transport.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/entrypoint/grpc.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/entrypoint/host_process.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/entrypoint/hosted_context.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/entrypoint/hosts.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/entrypoint/http.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/infrastructure/configuration.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/services/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/services/hosted_execution.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/remote_execution/services/transports.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/runtime_use_cases/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/runtime_use_cases/domain.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/runtime_use_cases/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/runtime_use_cases/in_memory.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/runtime_use_cases/loading.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/runtime_use_cases/registry.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/analysis/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/analysis/architecture.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/analysis/function_order.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/analysis/settings_scope.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/contracts/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/contracts/auth_provider.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/contracts/caching_strategies.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/contracts/computed_fields.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/contracts/exchange_rates.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/contracts/extension.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/contracts/idempotency_records.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/contracts/key_value_store.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/contracts/object_store.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/doubles/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/doubles/auth.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/doubles/clock.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/doubles/context.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/doubles/dependencies.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/doubles/events.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/runtime/testing/exceptions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/settings/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/settings/adapters/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/settings/adapters/aws.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/settings/adapters/environment.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/settings/adapters/yaml_file.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/settings/domain/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/settings/domain/config.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/settings/domain/description.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/settings/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/settings/entrypoint/building.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/settings/services/__init__.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/settings/services/building.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/settings/services/description.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/settings/services/resolution.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/sincpro_abstractions.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/sincpro_abstractions.pyi +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/sincpro_conf.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/sincpro_logger.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/use_bus.py +0 -0
- {sincpro_framework-3.26.0 → sincpro_framework-3.28.0}/sincpro_framework/use_bus.pyi +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sincpro-framework
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.28.0
|
|
4
4
|
Summary: Sincpro framework to use DDD, Clean architecture, Hexagonal architecture
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE.md
|
|
@@ -442,6 +442,9 @@ See [docs/events/brokers.md](docs/events/brokers.md).
|
|
|
442
442
|
or NATS carry it through FastStream, behind the `[faststream]` extra.
|
|
443
443
|
- `FastStreamQueue(broker).start()` for synchronous code, `aput` for async; `subscribe(broker,
|
|
444
444
|
Subscriber(...))` subscribes every event the buses registered.
|
|
445
|
+
- `Publisher(queue, forwarding=True)` returns at once and sends in order on a thread of its own,
|
|
446
|
+
waiting a broker that is down out; `Repository(..., publish_on_commit=publisher)` publishes what
|
|
447
|
+
a write recorded once it committed — [docs/events/README.md](docs/events/README.md).
|
|
445
448
|
|
|
446
449
|
### Caching
|
|
447
450
|
|
|
@@ -470,7 +473,7 @@ See [docs/process/README.md](docs/process/README.md).
|
|
|
470
473
|
|
|
471
474
|
- `Process` stays up and runs each loop (`run` / `stop`) on its own thread until SIGINT,
|
|
472
475
|
SIGTERM, or `stop`. `CronGateway` is a loop. `Poll` calls a function every interval.
|
|
473
|
-
- The function is the project's:
|
|
476
|
+
- The function is the project's: the Commands that claim a row, a check, a sync. There is no
|
|
474
477
|
job type. A broker stays `faststream run`. A server stays its gateway.
|
|
475
478
|
|
|
476
479
|
### Crons
|
|
@@ -517,7 +520,7 @@ See [Persistence (ORM)](#persistence-orm) for the full section.
|
|
|
517
520
|
|
|
518
521
|
- An aggregate is a plain dataclass; a Feature reads and writes it through `self.repository`.
|
|
519
522
|
- One way to ask — `Criteria` — and one shape back — a page with its cursor, count and definition.
|
|
520
|
-
- Hooks, domain events, change tracking, event sourcing and
|
|
523
|
+
- Hooks, domain events, change tracking, event sourcing and publishing on commit on the same repository.
|
|
521
524
|
|
|
522
525
|
### `entrypoint_mcp`
|
|
523
526
|
|
|
@@ -1191,7 +1194,7 @@ needs nothing installed. `sincpro_framework.data_layer.orm` is the SQLAlchemy ad
|
|
|
1191
1194
|
| Mixins | `ArchivableMixin`, `AuditedMixin` (who wrote it), `ChangeTrackingMixin` (what changed) |
|
|
1192
1195
|
| Domain events | Recorded by the aggregate, published by a Feature, answered by other buses |
|
|
1193
1196
|
| Event table | A domain event is an entity: one table per bounded context (`template_table.event_table`, `map_events`), kept by `save` with the change |
|
|
1194
|
-
| Delivery | `DeliverableEventMixin`
|
|
1197
|
+
| Delivery | `publish_on_commit=` hands the `DeliverableEventMixin` events of a write to a `Publisher` once it committed and stamps `delivered_at` on the row; `Publisher(queue, forwarding=True)` holds and sends in order while the broker is down |
|
|
1195
1198
|
| Event sourcing | `EventSourcedMixin`: rebuilt from its events by `get`, appended by `save`, `entity_version` against two writers |
|
|
1196
1199
|
| Testing | `MemoryRepository`: the same vocabulary with no database, a unit of work included — `context()` commits or puts back, `for_update` holds rows across threads |
|
|
1197
1200
|
|
|
@@ -1254,7 +1257,7 @@ every example runs as part of the test suite — and the page that explains it i
|
|
|
1254
1257
|
| Domain events | [Guide §9](docs/persistence/guide.md#9-domain-events) | [events/README.md](docs/events/README.md) |
|
|
1255
1258
|
| Change tracking | [Guide §10](docs/persistence/guide.md#10-change-tracking-and-the-contexts-event-table) | [change-tracking.md](docs/events/change-tracking.md) |
|
|
1256
1259
|
| Event sourcing | [Guide §11](docs/persistence/guide.md#11-event-sourcing) | [shapes.md §3](docs/shapes.md#3-the-facts-are-the-state) |
|
|
1257
|
-
|
|
|
1260
|
+
| Publishing on commit | [Guide §12](docs/persistence/guide.md#12-delivering-events) | [events/README.md](docs/events/README.md#publishing-on-commit) |
|
|
1258
1261
|
| Testing | [Guide §13](docs/persistence/guide.md#13-testing) | [testing.md](docs/persistence/testing.md) |
|
|
1259
1262
|
| Extending an aggregate | [Guide §14](docs/persistence/guide.md#14-extending-an-aggregate) | [reference.md](docs/persistence/reference.md) |
|
|
1260
1263
|
| Why it is designed this way | — | [design.md](docs/persistence/design.md), [decisions.md](docs/persistence/decisions.md) |
|
|
@@ -382,6 +382,9 @@ See [docs/events/brokers.md](docs/events/brokers.md).
|
|
|
382
382
|
or NATS carry it through FastStream, behind the `[faststream]` extra.
|
|
383
383
|
- `FastStreamQueue(broker).start()` for synchronous code, `aput` for async; `subscribe(broker,
|
|
384
384
|
Subscriber(...))` subscribes every event the buses registered.
|
|
385
|
+
- `Publisher(queue, forwarding=True)` returns at once and sends in order on a thread of its own,
|
|
386
|
+
waiting a broker that is down out; `Repository(..., publish_on_commit=publisher)` publishes what
|
|
387
|
+
a write recorded once it committed — [docs/events/README.md](docs/events/README.md).
|
|
385
388
|
|
|
386
389
|
### Caching
|
|
387
390
|
|
|
@@ -410,7 +413,7 @@ See [docs/process/README.md](docs/process/README.md).
|
|
|
410
413
|
|
|
411
414
|
- `Process` stays up and runs each loop (`run` / `stop`) on its own thread until SIGINT,
|
|
412
415
|
SIGTERM, or `stop`. `CronGateway` is a loop. `Poll` calls a function every interval.
|
|
413
|
-
- The function is the project's:
|
|
416
|
+
- The function is the project's: the Commands that claim a row, a check, a sync. There is no
|
|
414
417
|
job type. A broker stays `faststream run`. A server stays its gateway.
|
|
415
418
|
|
|
416
419
|
### Crons
|
|
@@ -457,7 +460,7 @@ See [Persistence (ORM)](#persistence-orm) for the full section.
|
|
|
457
460
|
|
|
458
461
|
- An aggregate is a plain dataclass; a Feature reads and writes it through `self.repository`.
|
|
459
462
|
- One way to ask — `Criteria` — and one shape back — a page with its cursor, count and definition.
|
|
460
|
-
- Hooks, domain events, change tracking, event sourcing and
|
|
463
|
+
- Hooks, domain events, change tracking, event sourcing and publishing on commit on the same repository.
|
|
461
464
|
|
|
462
465
|
### `entrypoint_mcp`
|
|
463
466
|
|
|
@@ -1131,7 +1134,7 @@ needs nothing installed. `sincpro_framework.data_layer.orm` is the SQLAlchemy ad
|
|
|
1131
1134
|
| Mixins | `ArchivableMixin`, `AuditedMixin` (who wrote it), `ChangeTrackingMixin` (what changed) |
|
|
1132
1135
|
| Domain events | Recorded by the aggregate, published by a Feature, answered by other buses |
|
|
1133
1136
|
| Event table | A domain event is an entity: one table per bounded context (`template_table.event_table`, `map_events`), kept by `save` with the change |
|
|
1134
|
-
| Delivery | `DeliverableEventMixin`
|
|
1137
|
+
| Delivery | `publish_on_commit=` hands the `DeliverableEventMixin` events of a write to a `Publisher` once it committed and stamps `delivered_at` on the row; `Publisher(queue, forwarding=True)` holds and sends in order while the broker is down |
|
|
1135
1138
|
| Event sourcing | `EventSourcedMixin`: rebuilt from its events by `get`, appended by `save`, `entity_version` against two writers |
|
|
1136
1139
|
| Testing | `MemoryRepository`: the same vocabulary with no database, a unit of work included — `context()` commits or puts back, `for_update` holds rows across threads |
|
|
1137
1140
|
|
|
@@ -1194,7 +1197,7 @@ every example runs as part of the test suite — and the page that explains it i
|
|
|
1194
1197
|
| Domain events | [Guide §9](docs/persistence/guide.md#9-domain-events) | [events/README.md](docs/events/README.md) |
|
|
1195
1198
|
| Change tracking | [Guide §10](docs/persistence/guide.md#10-change-tracking-and-the-contexts-event-table) | [change-tracking.md](docs/events/change-tracking.md) |
|
|
1196
1199
|
| Event sourcing | [Guide §11](docs/persistence/guide.md#11-event-sourcing) | [shapes.md §3](docs/shapes.md#3-the-facts-are-the-state) |
|
|
1197
|
-
|
|
|
1200
|
+
| Publishing on commit | [Guide §12](docs/persistence/guide.md#12-delivering-events) | [events/README.md](docs/events/README.md#publishing-on-commit) |
|
|
1198
1201
|
| Testing | [Guide §13](docs/persistence/guide.md#13-testing) | [testing.md](docs/persistence/testing.md) |
|
|
1199
1202
|
| Extending an aggregate | [Guide §14](docs/persistence/guide.md#14-extending-an-aggregate) | [reference.md](docs/persistence/reference.md) |
|
|
1200
1203
|
| Why it is designed this way | — | [design.md](docs/persistence/design.md), [decisions.md](docs/persistence/decisions.md) |
|
|
@@ -47,7 +47,7 @@ there is logged.
|
|
|
47
47
|
|
|
48
48
|
**Announced when the use case answered, not when a transaction commits.** A completion inside a unit
|
|
49
49
|
of work that a caller rolls back afterwards was still announced; what must follow the commit is
|
|
50
|
-
recorded
|
|
50
|
+
recorded by the aggregate and published by its repository on commit (`publish_on_commit=`).
|
|
51
51
|
|
|
52
52
|
Context: the events load with the first who asks for them — a process nobody listens in never loads
|
|
53
53
|
them, nor the DDD layer they are built on.
|
|
@@ -41,7 +41,7 @@ PERMANENT = frozenset(
|
|
|
41
41
|
}
|
|
42
42
|
)
|
|
43
43
|
"""The kinds that fail the same way on every attempt: a queue consumer dead-letters them, the
|
|
44
|
-
|
|
44
|
+
forwarding sets them aside at the first failure — trying again only blocks what comes after."""
|
|
45
45
|
|
|
46
46
|
DEFAULT_RETRY_AFTER = timedelta(seconds=1)
|
|
47
47
|
DURATION = TypeAdapter(timedelta)
|
|
@@ -9,7 +9,6 @@ A domain event is an entity: its envelope is columns, what each class adds is `p
|
|
|
9
9
|
|
|
10
10
|
from sqlalchemy import (
|
|
11
11
|
JSON,
|
|
12
|
-
Boolean,
|
|
13
12
|
Column,
|
|
14
13
|
DateTime,
|
|
15
14
|
Index,
|
|
@@ -18,7 +17,6 @@ from sqlalchemy import (
|
|
|
18
17
|
Table,
|
|
19
18
|
Text,
|
|
20
19
|
UniqueConstraint,
|
|
21
|
-
text,
|
|
22
20
|
)
|
|
23
21
|
from sqlalchemy.dialects.postgresql import JSONB
|
|
24
22
|
|
|
@@ -33,14 +31,13 @@ def event_table(name: str, metadata: MetaData) -> Table:
|
|
|
33
31
|
entity_type · entity_id · entity_version (its place in that entity's history)
|
|
34
32
|
correlation_id · causation_id · label · created_at
|
|
35
33
|
payload JSON — what the event's own class adds (JSONB on Postgres)
|
|
36
|
-
|
|
37
|
-
delivery JSON —
|
|
34
|
+
delivered_at — when a deliverable event went out, empty while it has not
|
|
35
|
+
delivery JSON — how its delivery went, for a person: attempts, last error
|
|
38
36
|
UNIQUE (entity_type, entity_id, entity_version) two writers of one entity: one wins
|
|
39
37
|
INDEX (name, id) · INDEX (entity_type, entity_id, id)
|
|
40
|
-
INDEX (next_delivery_at) WHERE the event is deliverable and not delivered yet
|
|
41
38
|
|
|
42
39
|
The fact never changes after the insert; only the delivery columns of a deliverable event
|
|
43
|
-
do,
|
|
40
|
+
do, stamped by the repository that published it on commit.
|
|
44
41
|
"""
|
|
45
42
|
moment = DateTime(timezone=True)
|
|
46
43
|
return Table(
|
|
@@ -56,21 +53,13 @@ def event_table(name: str, metadata: MetaData) -> Table:
|
|
|
56
53
|
Column("label", JsonText),
|
|
57
54
|
Column("created_at", moment, nullable=False),
|
|
58
55
|
Column("payload", JSON().with_variant(JSONB(), "postgresql"), nullable=False),
|
|
59
|
-
Column("is_deliverable", Boolean, nullable=False, default=False),
|
|
60
56
|
Column("delivered_at", moment),
|
|
61
|
-
Column("next_delivery_at", moment),
|
|
62
57
|
Column("delivery", JSON().with_variant(JSONB(), "postgresql")),
|
|
63
58
|
UniqueConstraint(
|
|
64
59
|
"entity_type", "entity_id", "entity_version", name=f"{name}_entity_version"
|
|
65
60
|
),
|
|
66
61
|
Index(f"{name}_by_name", "name", "id"),
|
|
67
62
|
Index(f"{name}_by_entity", "entity_type", "entity_id", "id"),
|
|
68
|
-
Index(
|
|
69
|
-
f"{name}_to_deliver",
|
|
70
|
-
"next_delivery_at",
|
|
71
|
-
postgresql_where=text("is_deliverable AND delivered_at IS NULL"),
|
|
72
|
-
sqlite_where=text("is_deliverable AND delivered_at IS NULL"),
|
|
73
|
-
),
|
|
74
63
|
)
|
|
75
64
|
|
|
76
65
|
|
|
@@ -3,7 +3,7 @@ session the process opens.
|
|
|
3
3
|
|
|
4
4
|
with repository.context() as unit:
|
|
5
5
|
unit.save(invoice)
|
|
6
|
-
unit.after_commit(lambda: publisher.
|
|
6
|
+
unit.after_commit(lambda: publisher.publish(receipt))
|
|
7
7
|
|
|
8
8
|
a savepoint that ends well → what it registered moves to the level around it
|
|
9
9
|
a savepoint that raises → its after_rollback runs; its after_commit is dropped
|
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
aggregate go with it (`owned=False` excepted)
|
|
10
10
|
invoice.lines[0].amount = 5; save(invoice) → the line written, and the invoice's version
|
|
11
11
|
raised with it: a part moves its aggregate
|
|
12
|
+
ticket.labels = [urgent, billing] a many-to-many: the pairs in the table in between
|
|
13
|
+
repository.save(ticket) → the pairs it now holds inserted, the ones the
|
|
14
|
+
last reading saw and it no longer holds deleted;
|
|
15
|
+
a label itself is never written
|
|
16
|
+
repository.remove(ticket) → its pairs deleted first, the labels left alone
|
|
12
17
|
|
|
13
18
|
The framework's relations are its own descriptors, not SQLAlchemy relationships, so the cascade
|
|
14
19
|
is planned here, before the flush, and handed to the write path every aggregate takes — hooks,
|
|
@@ -26,7 +31,7 @@ from dataclasses import dataclass, field
|
|
|
26
31
|
from typing import Any, cast
|
|
27
32
|
|
|
28
33
|
import sqlalchemy
|
|
29
|
-
from sqlalchemy import Table, select
|
|
34
|
+
from sqlalchemy import Table, delete, insert, select
|
|
30
35
|
from sqlalchemy.orm import Session
|
|
31
36
|
from sqlalchemy.orm.attributes import flag_modified
|
|
32
37
|
|
|
@@ -66,16 +71,34 @@ class Owned:
|
|
|
66
71
|
orphans: Orphans
|
|
67
72
|
|
|
68
73
|
|
|
74
|
+
@dataclass(frozen=True)
|
|
75
|
+
class Linked:
|
|
76
|
+
"""One many-to-many a root writes the pairs of, read off its declaration: the root's field,
|
|
77
|
+
the table in between and its two keys. The pairs are the root's; the aggregate on the other
|
|
78
|
+
side has a life of its own and is never written from here (Vernon: reference it by id)."""
|
|
79
|
+
|
|
80
|
+
name: str
|
|
81
|
+
through: Table
|
|
82
|
+
this_key: str
|
|
83
|
+
related_key: str
|
|
84
|
+
|
|
85
|
+
|
|
69
86
|
@dataclass
|
|
70
87
|
class Plan:
|
|
71
88
|
"""What one `save` or `remove` writes: the children detached (their key set to NULL), the
|
|
72
|
-
levels to delete — the records first, their descendants after — the
|
|
73
|
-
update, the assignments it carries out,
|
|
89
|
+
pairs unlinked, the levels to delete — the records first, their descendants after — the
|
|
90
|
+
records to insert or update, the pairs linked, the assignments it carries out, the
|
|
91
|
+
many-to-manys it writes, and the stored roots whose parts it writes."""
|
|
74
92
|
|
|
75
93
|
detached: list[Any] = field(default_factory=list)
|
|
94
|
+
unlinks: list[Any] = field(default_factory=list)
|
|
95
|
+
"""`DELETE`s of pairs, run before the removals: a pair points at the root it leaves with."""
|
|
76
96
|
removals: list[list[Any]] = field(default_factory=list)
|
|
77
97
|
writes: list[Any] = field(default_factory=list)
|
|
98
|
+
links: list[Any] = field(default_factory=list)
|
|
99
|
+
"""`INSERT`s of pairs, run after the writes: a new root's row exists before its pairs."""
|
|
78
100
|
carried_out: list[tuple[Any, str]] = field(default_factory=list)
|
|
101
|
+
linked: list[tuple[Any, str]] = field(default_factory=list)
|
|
79
102
|
moved: list[Any] = field(default_factory=list)
|
|
80
103
|
|
|
81
104
|
@property
|
|
@@ -132,6 +155,16 @@ class Plan:
|
|
|
132
155
|
relations.hold(
|
|
133
156
|
name, value, after, frozenset(identity_of(child) for child in value or ())
|
|
134
157
|
)
|
|
158
|
+
for record, name in self.linked:
|
|
159
|
+
relations = HeldRelations(record)
|
|
160
|
+
how = relations.held(name)
|
|
161
|
+
value = relations.value(name)
|
|
162
|
+
relations.hold(
|
|
163
|
+
name,
|
|
164
|
+
value,
|
|
165
|
+
WRITTEN.get(how, how) if how is not None else Held.WHOLE,
|
|
166
|
+
frozenset(identity_of(one) for one in value or ()),
|
|
167
|
+
)
|
|
135
168
|
|
|
136
169
|
|
|
137
170
|
def _plain_column(mapper: Any) -> str | None:
|
|
@@ -214,6 +247,22 @@ def owned_by(model: type) -> list[Owned]:
|
|
|
214
247
|
return owned
|
|
215
248
|
|
|
216
249
|
|
|
250
|
+
def linked_by(model: type) -> list[Linked]:
|
|
251
|
+
"""The many-to-manys this aggregate writes the pairs of. Context: read on every write, as
|
|
252
|
+
`owned_by` is.
|
|
253
|
+
|
|
254
|
+
linked_by(Ticket) -> [Linked("labels", ticket_label, "ticket_id", "label_id")]
|
|
255
|
+
linked_by(Label) -> []
|
|
256
|
+
"""
|
|
257
|
+
linked: list[Linked] = []
|
|
258
|
+
for name, relation in mapping_registry.relations_of(model).items():
|
|
259
|
+
through = getattr(relation, "through", None)
|
|
260
|
+
related_key = getattr(relation, "related_key", None)
|
|
261
|
+
if relation.kind == "many_to_many" and through is not None and related_key:
|
|
262
|
+
linked.append(Linked(name, through, relation.identified_by, related_key))
|
|
263
|
+
return linked
|
|
264
|
+
|
|
265
|
+
|
|
217
266
|
def _read_without_flushing(session: Session, statement: Any) -> list[Any]:
|
|
218
267
|
"""Context: the roots' changes are not written yet and their hooks have not run; a flush
|
|
219
268
|
here would write them before the rules saw them."""
|
|
@@ -246,6 +295,8 @@ def planned_removal(session: Session, records: list[Any]) -> Plan:
|
|
|
246
295
|
what depends on the root.
|
|
247
296
|
3. What the relation's `orphans` says: `REFUSE` raises naming it, `DETACH` sets the
|
|
248
297
|
child's key to NULL, `DELETE` makes the child part of the next level.
|
|
298
|
+
3.1 Every pair of a many-to-many of the level is unlinked: the pairs go with the
|
|
299
|
+
record, the aggregate on the other side stays.
|
|
249
300
|
4. Final: repeat until a level owns nothing. A reference (`owned=False`) is left to its
|
|
250
301
|
foreign key, which refuses the delete while children point at the root.
|
|
251
302
|
"""
|
|
@@ -260,6 +311,10 @@ def planned_removal(session: Session, records: list[Any]) -> Plan:
|
|
|
260
311
|
plan.removals.append(level)
|
|
261
312
|
below: list[Any] = []
|
|
262
313
|
for model, roots in _by_model(level).items():
|
|
314
|
+
for linked in linked_by(model):
|
|
315
|
+
this_key = linked.through.c[linked.this_key]
|
|
316
|
+
keys = [identity_of(root) for root in roots]
|
|
317
|
+
plan.unlinks.append(delete(linked.through).where(this_key.in_(keys)))
|
|
263
318
|
for owned in owned_by(model):
|
|
264
319
|
keys = {getattr(root, owned.here) for root in roots} - {None}
|
|
265
320
|
if not keys:
|
|
@@ -302,6 +357,58 @@ def _refuse_a_child_removed_before(records: list[Any]) -> None:
|
|
|
302
357
|
)
|
|
303
358
|
|
|
304
359
|
|
|
360
|
+
def _paired(session: Session, plan: Plan, record: Any, linked: Linked, how: Held) -> bool:
|
|
361
|
+
"""The pairs one many-to-many of `record` inserts and deletes, put on the plan; whether it
|
|
362
|
+
changes any.
|
|
363
|
+
|
|
364
|
+
ticket read whole with labels {a, b}; ticket.labels = [b, c]
|
|
365
|
+
-> DELETE (ticket, a); INSERT (ticket, c); True
|
|
366
|
+
a new ticket with labels [a] -> INSERT (ticket, a); True
|
|
367
|
+
ticket.labels assigned blind to [c] -> INSERT (ticket, c), nothing deleted;
|
|
368
|
+
logged
|
|
369
|
+
ticket read whole and saved as it was -> nothing; False
|
|
370
|
+
|
|
371
|
+
1. What it holds now, and what its last whole reading or write saw.
|
|
372
|
+
2. Only a stored record whose relation was read whole — assigned over that reading or
|
|
373
|
+
changed in place — settles the pairs it no longer holds: a cut or blind one never
|
|
374
|
+
deletes what it did not see.
|
|
375
|
+
3. Each pair it holds that the reading did not see, minus the ones already in the table —
|
|
376
|
+
another writer may have linked it since — is inserted.
|
|
377
|
+
Final: the relation noted as written, so its reading is what it holds now.
|
|
378
|
+
"""
|
|
379
|
+
relations = HeldRelations(record)
|
|
380
|
+
key = identity_of(record)
|
|
381
|
+
held = {identity_of(one) for one in relations.value(linked.name) or ()}
|
|
382
|
+
stored = not getattr(record, "is_new", False)
|
|
383
|
+
settles = stored and how in (Held.ASSIGNED, Held.WHOLE)
|
|
384
|
+
before = relations.read_before(linked.name) if settles else frozenset()
|
|
385
|
+
this_key = linked.through.c[linked.this_key]
|
|
386
|
+
related_key = linked.through.c[linked.related_key]
|
|
387
|
+
dropped = before - held
|
|
388
|
+
added = held - before
|
|
389
|
+
if added and stored:
|
|
390
|
+
statement = select(related_key).where(this_key == key, related_key.in_(added))
|
|
391
|
+
added -= set(_read_without_flushing(session, statement))
|
|
392
|
+
if dropped:
|
|
393
|
+
plan.unlinks.append(
|
|
394
|
+
delete(linked.through).where(this_key == key, related_key.in_(dropped))
|
|
395
|
+
)
|
|
396
|
+
if added:
|
|
397
|
+
plan.links.append(
|
|
398
|
+
insert(linked.through).values(
|
|
399
|
+
[{linked.this_key: key, linked.related_key: one} for one in sorted(added)]
|
|
400
|
+
)
|
|
401
|
+
)
|
|
402
|
+
if how is Held.BLIND:
|
|
403
|
+
logger.warning(
|
|
404
|
+
f"{type(record).__name__}.{linked.name} was assigned with no whole reading behind "
|
|
405
|
+
"it (a page, a filter, or outside context()): the pairs it holds were linked and "
|
|
406
|
+
"none was unlinked — assign it inside context() to replace them"
|
|
407
|
+
)
|
|
408
|
+
plan.linked.append((record, linked.name))
|
|
409
|
+
return bool(added or dropped)
|
|
410
|
+
|
|
411
|
+
|
|
305
412
|
def planned_save(session: Session, records: list[Any]) -> Plan:
|
|
306
413
|
"""Everything one `save` of these roots writes.
|
|
307
414
|
|
|
@@ -322,8 +429,9 @@ def planned_save(session: Session, records: list[Any]) -> Plan:
|
|
|
322
429
|
the orphans.
|
|
323
430
|
3. A detached orphan has its key set to NULL; a deleted one is a removal and takes what it
|
|
324
431
|
owns with it.
|
|
325
|
-
4. Final: every stored root of this save whose parts are written, detached or removed
|
|
326
|
-
|
|
432
|
+
4. Final: every stored root of this save whose parts are written, detached or removed — or
|
|
433
|
+
whose pairs of a many-to-many are linked or unlinked (`_paired`) — is marked moved: its
|
|
434
|
+
version is raised with them (`Plan.version_moves`).
|
|
327
435
|
"""
|
|
328
436
|
plan = Plan()
|
|
329
437
|
seen: set[int] = set()
|
|
@@ -339,7 +447,7 @@ def planned_save(session: Session, records: list[Any]) -> Plan:
|
|
|
339
447
|
2. Written when it is a root (`explicit`) or has changed; a changed child marks
|
|
340
448
|
its root moved.
|
|
341
449
|
3. Per relation it owns that holds a value: each child given the record's key, then
|
|
342
|
-
visited.
|
|
450
|
+
visited. Per many-to-many that holds a value, its pairs (`_paired`).
|
|
343
451
|
3.1 An assignment it carries out is noted, to mark it written afterwards.
|
|
344
452
|
3.2 Blind: logged, nothing settled. Assigned over a whole reading on a stored
|
|
345
453
|
record: what that reading saw is stored to find the orphans (step 2).
|
|
@@ -374,6 +482,10 @@ def planned_save(session: Session, records: list[Any]) -> Plan:
|
|
|
374
482
|
_, read_by_key = settling.setdefault((type(record), owned.name), (owned, {}))
|
|
375
483
|
read_by_key.setdefault(key, set()).update(relations.read_before(owned.name))
|
|
376
484
|
root_by_key.setdefault((type(record), owned.name, key), []).append(root)
|
|
485
|
+
for linked in linked_by(type(record)):
|
|
486
|
+
how = relations.held(linked.name)
|
|
487
|
+
if how is not None and _paired(session, plan, record, linked, how):
|
|
488
|
+
moved[id(root)] = root
|
|
377
489
|
|
|
378
490
|
for one in records:
|
|
379
491
|
visit(one, explicit=True, root=one)
|
|
@@ -413,5 +525,6 @@ def planned_save(session: Session, records: list[Any]) -> Plan:
|
|
|
413
525
|
taken = planned_removal(session, orphans)
|
|
414
526
|
plan.removals = taken.removals
|
|
415
527
|
plan.detached.extend(taken.detached)
|
|
528
|
+
plan.unlinks.extend(taken.unlinks)
|
|
416
529
|
plan.moved = [root for root in moved.values() if not getattr(root, "is_new", False)]
|
|
417
530
|
return plan
|
|
@@ -184,10 +184,24 @@ class RelatedAttribute:
|
|
|
184
184
|
return None
|
|
185
185
|
return key_pair(identity_name(type(record)), self.relation, True)
|
|
186
186
|
|
|
187
|
+
def named_by_id(self) -> bool:
|
|
188
|
+
"""Whether a form names this relation's records by id: a many-to-many, whose pairs the
|
|
189
|
+
root writes and whose records it never does.
|
|
190
|
+
|
|
191
|
+
Ticket.labels → True the pairs live in the table in between
|
|
192
|
+
Sale.lines → False the lines are parts, sent whole
|
|
193
|
+
Run.dataset → False
|
|
194
|
+
|
|
195
|
+
What `EntityReads.referenced` asks before `assign`: the ids a form sends are read as the
|
|
196
|
+
records they name.
|
|
197
|
+
"""
|
|
198
|
+
return self.relation.kind == "many_to_many"
|
|
199
|
+
|
|
187
200
|
def __set__(self, record: Any, value: Any) -> None:
|
|
188
201
|
"""An assignment replaces the set. Context: inside a unit of work, a stored record whose
|
|
189
202
|
relation was not read whole reads it first — as Rails' `collection=` does — so what it
|
|
190
|
-
replaced is known
|
|
203
|
+
replaced is known, the parts it owns and the pairs of a many-to-many alike; anywhere
|
|
204
|
+
else that is not possible, and the assignment is blind."""
|
|
191
205
|
state = sqlalchemy.inspect(record, raiseerr=False)
|
|
192
206
|
stored = state is not None and state.has_identity
|
|
193
207
|
relations = HeldRelations(record)
|
|
@@ -196,7 +210,7 @@ class RelatedAttribute:
|
|
|
196
210
|
stored
|
|
197
211
|
and before is not Held.WHOLE
|
|
198
212
|
and before is not Held.ASSIGNED
|
|
199
|
-
and self._written_by_root(record)
|
|
213
|
+
and (self._written_by_root(record) or self.named_by_id())
|
|
200
214
|
):
|
|
201
215
|
session = object_session(record)
|
|
202
216
|
repository = session.info.get(REPOSITORY) if session is not None else None
|
|
@@ -12,8 +12,8 @@ the discriminator.
|
|
|
12
12
|
**The envelope is columns, what a class adds is `payload`.** `id`, `entity_type`, `entity_id`,
|
|
13
13
|
`entity_version`, `correlation_id`, `causation_id`, `label` and `created_at` are filtered like
|
|
14
14
|
any column; the fields a subclass declares are written into `payload` on insert and set back on
|
|
15
|
-
the event when it is loaded. A deliverable event's `delivered_at
|
|
16
|
-
|
|
15
|
+
the event when it is loaded. A deliverable event's `delivered_at` and `delivery` are columns too,
|
|
16
|
+
beside the fact, and never sent.
|
|
17
17
|
|
|
18
18
|
**Identified and ordered by its id** — a UUID v7, so ordering by it is ordering by time —
|
|
19
19
|
`get(InvoicePaid, event_id)` works like any entity.
|
|
@@ -34,10 +34,7 @@ from sqlalchemy.orm import registry
|
|
|
34
34
|
from sincpro_framework.data_layer import exceptions
|
|
35
35
|
from sincpro_framework.ddd.events import DomainEvent
|
|
36
36
|
from sincpro_framework.ddd.events.domain_event import NAME
|
|
37
|
-
from sincpro_framework.ddd.events.mixins.deliverable import
|
|
38
|
-
DELIVERY_FIELDS,
|
|
39
|
-
DeliverableEventMixin,
|
|
40
|
-
)
|
|
37
|
+
from sincpro_framework.ddd.events.mixins.deliverable import DELIVERY_FIELDS
|
|
41
38
|
from sincpro_framework.sincpro_logger import logger
|
|
42
39
|
|
|
43
40
|
ENVELOPE = frozenset(one.name for one in dataclasses.fields(DomainEvent))
|
|
@@ -68,15 +65,14 @@ def _is_mapped(cls: type) -> bool:
|
|
|
68
65
|
|
|
69
66
|
|
|
70
67
|
def packed(_mapper: Any, _connection: Any, target: Any) -> None:
|
|
71
|
-
"""Before an event is inserted: what its class adds goes to `payload
|
|
72
|
-
|
|
68
|
+
"""Before an event is inserted: what its class adds goes to `payload`. Its `name` and a
|
|
69
|
+
deliverable one's delivery are columns of their own, never part of the payload."""
|
|
73
70
|
written = json.loads(target.as_json())
|
|
74
71
|
target.payload_of_class = {
|
|
75
72
|
key: value
|
|
76
73
|
for key, value in written.items()
|
|
77
74
|
if key not in ENVELOPE and key not in COLUMNS_OF_DELIVERY and key != NAME
|
|
78
75
|
}
|
|
79
|
-
target.is_deliverable = isinstance(target, DeliverableEventMixin)
|
|
80
76
|
|
|
81
77
|
|
|
82
78
|
def unpacked(target: Any, _context: Any) -> None:
|
|
@@ -14,6 +14,7 @@ from sincpro_framework.data_layer.orm.sqlalchemy.infrastructure.unit_in_play imp
|
|
|
14
14
|
from sincpro_framework.data_layer.orm.sqlalchemy.services.aggregation import (
|
|
15
15
|
WITHOUT_PERCENTILES,
|
|
16
16
|
)
|
|
17
|
+
from sincpro_framework.data_layer.orm.sqlalchemy.services.event_mapping import is_mapped_event
|
|
17
18
|
from sincpro_framework.ddd.criteria import (
|
|
18
19
|
Condition,
|
|
19
20
|
Criteria,
|
|
@@ -23,8 +24,10 @@ from sincpro_framework.ddd.criteria import (
|
|
|
23
24
|
)
|
|
24
25
|
from sincpro_framework.ddd.entity import ArchivableMixin
|
|
25
26
|
from sincpro_framework.ddd.entity.entity_meta import Meta
|
|
27
|
+
from sincpro_framework.ddd.events import DomainEvent
|
|
26
28
|
from sincpro_framework.ddd.repositories.capabilities import StoreCapabilities
|
|
27
29
|
from sincpro_framework.ddd.repositories.hooks import Hooks
|
|
30
|
+
from sincpro_framework.ddd.repositories.publication import Publishes, PublishOnCommit
|
|
28
31
|
from sincpro_framework.ddd.repositories.repository import IRepository
|
|
29
32
|
|
|
30
33
|
WITHOUT_ROW_LOCKS = frozenset({"sqlite"})
|
|
@@ -47,6 +50,7 @@ class RepositoryState(IRepository):
|
|
|
47
50
|
scope: Criteria | None = None,
|
|
48
51
|
guard: "IRepository | None" = None,
|
|
49
52
|
transaction: Transaction | None = None,
|
|
53
|
+
publish_on_commit: PublishOnCommit | Publishes | None = None,
|
|
50
54
|
) -> None:
|
|
51
55
|
"""`hooks` second, so a wiring reads as what it is — `Repository(database, billing_hooks)`.
|
|
52
56
|
The rest are what a unit of work and a narrowing carry: its session, its scope, what
|
|
@@ -58,14 +62,23 @@ class RepositoryState(IRepository):
|
|
|
58
62
|
Repository(database, session=session, scope=mine, transaction=asked)
|
|
59
63
|
-> the view `context()` hands its block, bound to that session
|
|
60
64
|
|
|
65
|
+
`publish_on_commit` hands what a write recorded to a publisher once it committed — a
|
|
66
|
+
unit of work and a narrowing publish as the repository they are a view of.
|
|
67
|
+
|
|
68
|
+
Repository(database, billing_hooks, publish_on_commit=rabbit)
|
|
69
|
+
|
|
61
70
|
Nothing is opened here: a repository holds a session only when it is handed one.
|
|
62
71
|
"""
|
|
63
|
-
super().__init__(hooks, guard)
|
|
72
|
+
super().__init__(hooks, guard, publish_on_commit)
|
|
64
73
|
self.database = database
|
|
65
74
|
self._held = session
|
|
66
75
|
self._scope = scope
|
|
67
76
|
self._opened_with = transaction or Transaction()
|
|
68
77
|
|
|
78
|
+
def _keeps(self, kind: type) -> bool:
|
|
79
|
+
"""An event is held only when its class has an event table; every other kind is."""
|
|
80
|
+
return not issubclass(kind, DomainEvent) or is_mapped_event(kind)
|
|
81
|
+
|
|
69
82
|
@property
|
|
70
83
|
def _bound(self) -> Session | None:
|
|
71
84
|
"""The session this repository runs in: the one it was handed by `context()`, or the
|
|
@@ -145,7 +145,7 @@ class UnitOfWork(RepositoryState):
|
|
|
145
145
|
|
|
146
146
|
with self.repository.context() as unit:
|
|
147
147
|
unit.save(invoice)
|
|
148
|
-
unit.after_commit(lambda: publisher.
|
|
148
|
+
unit.after_commit(lambda: publisher.publish(receipt))
|
|
149
149
|
|
|
150
150
|
**The moment to tell the world**: inside the block a fact can still be taken back, here
|
|
151
151
|
it cannot. Registered inside a `savepoint()` that rolls back, it is dropped with it.
|
|
@@ -181,10 +181,14 @@ class Writing(RepositoryState, Extends):
|
|
|
181
181
|
|
|
182
182
|
1. Every record is checked against the scope, and the before-moments run for all of them.
|
|
183
183
|
2. The detached first: a child's key is NULL before its root can go.
|
|
184
|
-
3. The
|
|
184
|
+
3. The pairs of a many-to-many unlinked: a pair points at the root it leaves with.
|
|
185
|
+
4. The removals, deepest first: an orphan leaves before the child taking its unique
|
|
185
186
|
value arrives.
|
|
186
|
-
|
|
187
|
-
|
|
187
|
+
5. The rest, parents before children — a root whose parts move is updated with its
|
|
188
|
+
version checked and raised.
|
|
189
|
+
6. The pairs linked, once the roots they point at are rows.
|
|
190
|
+
Final: the assignments carried out are marked written, and what the records recorded
|
|
191
|
+
is stored.
|
|
188
192
|
"""
|
|
189
193
|
stored, removed = plan.stored, plan.removed
|
|
190
194
|
for one in [*stored, *removed]:
|
|
@@ -196,6 +200,9 @@ class Writing(RepositoryState, Extends):
|
|
|
196
200
|
for batch in _by_dependency(plan.detached):
|
|
197
201
|
session.add_all(batch)
|
|
198
202
|
self._written(session, batch)
|
|
203
|
+
with session.no_autoflush:
|
|
204
|
+
for statement in plan.unlinks:
|
|
205
|
+
session.execute(statement)
|
|
199
206
|
for level in reversed(plan.removals):
|
|
200
207
|
for one in level:
|
|
201
208
|
session.delete(one)
|
|
@@ -203,6 +210,9 @@ class Writing(RepositoryState, Extends):
|
|
|
203
210
|
for batch in _by_dependency(plan.writes):
|
|
204
211
|
session.add_all(batch)
|
|
205
212
|
self._written(session, batch)
|
|
213
|
+
with session.no_autoflush:
|
|
214
|
+
for statement in plan.links:
|
|
215
|
+
session.execute(statement)
|
|
206
216
|
plan.written()
|
|
207
217
|
self._store_facts(session, [*plan.stored, *plan.removed])
|
|
208
218
|
return newness
|
|
@@ -100,6 +100,7 @@ from sincpro_framework.ddd.repositories.hooks import Hooks
|
|
|
100
100
|
from sincpro_framework.ddd.repositories.mixins.change_tracking import (
|
|
101
101
|
ChangeTrackingRepositoryMixin,
|
|
102
102
|
)
|
|
103
|
+
from sincpro_framework.ddd.repositories.publication import Publishes, PublishOnCommit
|
|
103
104
|
from sincpro_framework.ddd.repositories.repository import (
|
|
104
105
|
IRepository,
|
|
105
106
|
records_of,
|
|
@@ -404,10 +405,12 @@ class MemoryRepository(
|
|
|
404
405
|
*records: Any,
|
|
405
406
|
hooks: Hooks | None = None,
|
|
406
407
|
actor: "Callable[[], str | None] | None" = None,
|
|
408
|
+
publish_on_commit: PublishOnCommit | Publishes | None = None,
|
|
407
409
|
) -> None:
|
|
408
410
|
"""`actor` answers who is writing, for an `AuditedMixin` aggregate — the same argument
|
|
409
411
|
`Database` takes and read the same way, once per save. Without one those fields stay
|
|
410
|
-
`None`, which is also what the engine does.
|
|
412
|
+
`None`, which is also what the engine does. `publish_on_commit` is the engine's too: what
|
|
413
|
+
a write recorded, handed to a publisher once it committed.
|
|
411
414
|
|
|
412
415
|
repository = MemoryRepository(Invoice(id="F-1"), Invoice(id="F-2"), hooks=hooks)
|
|
413
416
|
repository.get(Invoice, "F-1") -> Invoice(id="F-1")
|
|
@@ -418,7 +421,7 @@ class MemoryRepository(
|
|
|
418
421
|
"""
|
|
419
422
|
refuse_wiring_as_a_record(records)
|
|
420
423
|
self._actor = actor
|
|
421
|
-
super().__init__(hooks)
|
|
424
|
+
super().__init__(hooks, publish_on_commit=publish_on_commit)
|
|
422
425
|
self._stored: dict[type, dict[Any, Any]] = {}
|
|
423
426
|
self._units: ContextVar[MemoryUnit | None] = ContextVar(
|
|
424
427
|
f"memory_unit_{id(self)}", default=None
|
|
@@ -619,7 +622,7 @@ class MemoryRepository(
|
|
|
619
622
|
name: field for name, field in meta.fields.items() if name in columns
|
|
620
623
|
}
|
|
621
624
|
# The delivery columns are the table's, so a base event class that is not deliverable
|
|
622
|
-
# itself is still filtered by them —
|
|
625
|
+
# itself is still filtered by them — which events went out, asked of the base class.
|
|
623
626
|
delivery = describe_class(DeliverableEventMixin).fields
|
|
624
627
|
return meta.model_copy(update={"fields": {**delivery, **envelope_fields}})
|
|
625
628
|
|