sincpro-framework 3.35.0__tar.gz → 3.37.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.35.0 → sincpro_framework-3.37.0}/PKG-INFO +1 -1
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/pyproject.toml +1 -1
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/data_analysis/export.py +93 -22
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/__init__.py +5 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/events.py +7 -2
- sincpro_framework-3.37.0/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/external_keys.py +37 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/change_tracking.py +26 -2
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/event_mapping.py +19 -4
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/model_introspection.py +5 -1
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/repositories/memory_repository.py +15 -5
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/__init__.py +42 -1
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/editing/editing.py +16 -3
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/editing/edits.py +361 -40
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/__init__.py +2 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/entity.py +12 -4
- sincpro_framework-3.37.0/sincpro_framework/ddd/entity/entity_ref.py +114 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/events/__init__.py +8 -1
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/events/domain_event.py +47 -8
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/events/mixins/__init__.py +11 -1
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/events/mixins/change_tracking.py +88 -3
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/exceptions.py +44 -0
- sincpro_framework-3.37.0/sincpro_framework/ddd/importing/__init__.py +37 -0
- sincpro_framework-3.37.0/sincpro_framework/ddd/importing/excel.py +398 -0
- sincpro_framework-3.37.0/sincpro_framework/ddd/importing/external_key.py +30 -0
- sincpro_framework-3.37.0/sincpro_framework/ddd/importing/imports.py +732 -0
- sincpro_framework-3.37.0/sincpro_framework/ddd/importing/reading.py +184 -0
- sincpro_framework-3.37.0/sincpro_framework/ddd/importing/shaping.py +293 -0
- sincpro_framework-3.37.0/sincpro_framework/ddd/importing/writing.py +275 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/metamodel/domain/declaration.py +3 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/metamodel/domain/model.py +3 -1
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/metamodel/services/compiler.py +9 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/metamodel/services/description.py +11 -3
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/query.py +38 -9
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/reads/reads.py +107 -41
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/repositories/mixins/change_tracking.py +9 -2
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/fastapi/wire.py +41 -14
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/rest/openapi.py +1 -1
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/rest/routing.py +38 -5
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/rest/serving.py +19 -4
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/introspection/entity_tags.py +18 -3
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/introspection/inspector.py +13 -7
- sincpro_framework-3.37.0/sincpro_framework/references/__init__.py +25 -0
- sincpro_framework-3.37.0/sincpro_framework/references/entity_refs.py +105 -0
- sincpro_framework-3.37.0/sincpro_framework/references/resolve.py +100 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/LICENSE.md +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/README.md +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/aio/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/aio/bus.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/aio/bus.pyi +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/adapters/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/adapters/api_key_provider.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/adapters/role_permissions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/adapters/service_token_provider.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/adapters/static_provider.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/domain/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/domain/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/domain/identity.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/domain/permissions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/domain/provider.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/entrypoint/access_control.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/entrypoint/asgi.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/entrypoint/security.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/infrastructure/security_context.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/services/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/auth/services/guard.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus.pyi +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/events.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/incomes/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/incomes/events.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/incomes/incomes.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/incomes/listeners.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/incomes/mixins/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/incomes/mixins/bus_incomes.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/interceptors/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/interceptors/interceptor.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/interceptors/mixins/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/interceptors/mixins/bus_interceptors.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/listeners.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/outcomes/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/outcomes/events.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/outcomes/listeners.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/outcomes/mixins/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/outcomes/mixins/bus_outcomes.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/bus_pipeline/outcomes/outcomes.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/circuit_breaker/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/circuit_breaker/circuit_breaker.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/aws/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/aws/clients.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/failures/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/failures/classification.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/failures/problem.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/ids/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/ids/uuid7.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/naming/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/naming/case.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/naming/registered_name.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/ordering/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/ordering/placement.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/reads/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/reads/noting.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/serialization/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/serialization/values.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/transport/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/common/transport/grpc.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/conf/sincpro_framework_conf.yml +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/adapters/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/adapters/codecs.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/adapters/entries.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/adapters/propagation.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/adapters/stores.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/domain/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/domain/codec.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/domain/drafts.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/domain/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/domain/execution.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/domain/keys.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/domain/level.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/domain/node.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/domain/owner.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/domain/providers.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/domain/sessions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/domain/store.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/domain/travel.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/entrypoint/bus.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/entrypoint/bus_context.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/entrypoint/bus_store.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/entrypoint/executions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/entrypoint/facade.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/entrypoint/propagation.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/entrypoint/providers.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/entrypoint/resolution.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/entrypoint/scopes.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/entrypoint/threads.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/infrastructure/closed_scopes.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/infrastructure/distributed.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/infrastructure/outage.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/infrastructure/shared.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/infrastructure/travel.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/infrastructure/tree.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/services/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/services/drafts.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/services/executions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/services/nodes.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/services/propagation.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/services/providers.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/context/services/sessions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/adapters/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/adapters/eviction.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/adapters/json_codec.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/adapters/key_value_records.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/adapters/keys.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/adapters/observers.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/domain/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/domain/codec.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/domain/eviction.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/domain/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/domain/failure.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/domain/freshness.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/domain/idempotency_records.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/domain/idempotent_command.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/domain/observer.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/domain/policies.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/domain/validation.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/entrypoint/bus_caching.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/entrypoint/facades.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/infrastructure/clock.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/infrastructure/flight.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/services/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/services/cache.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/services/idempotency.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/caching/services/query_caching.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/data_analysis/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/data_analysis/arrow.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/data_analysis/cache.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/data_analysis/frame.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/adapters/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/adapters/in_memory.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/adapters/manifest.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/domain/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/domain/context_migrations.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/domain/engine.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/domain/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/domain/status.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/domain/step.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/entrypoint/command_line.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/entrypoint/orchestrator.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/infrastructure/step_ids.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/services/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/services/authoring.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/services/moves.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/services/system.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/migrations/services/timeline.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/adapters/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/adapters/http_source.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/adapters/in_memory.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/adapters/local.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/adapters/s3_compatible.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/domain/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/domain/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/domain/fetch.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/domain/object_store.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/domain/publication.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/entrypoint/object_storage.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/services/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/services/contents.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/services/ids.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/services/objects.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/services/publications.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/object_storage/services/transfers.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/engine.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/environment/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/environment/env.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/environment/script.py.mako +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/numbering.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/runtime_use_cases.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/domain/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/domain/consolidation.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/domain/custom_fields.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/domain/relations.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/domain/transaction.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/aggregate_repository.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/idempotency_records.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/mapping.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/repository.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/archive.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/audit.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/entity.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/idempotency.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/numbering.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/properties.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/runtime_use_cases.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/database.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/engine_errors.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/flushing.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/in_place_changes.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/mapping_registry.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/observability.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/read_tracking.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/transaction_hooks.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/transaction_opening.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/unit_in_play.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/aggregation.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/cache_invalidation.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/cascade.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/data_mapper.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/extension_mapping.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/extension_typing.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/extension_writing.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/relation_resolver.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/sql_translator.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/upsert.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/reading.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/repository_state.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/unit_of_work.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/writing.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/repositories/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/repositories/memory_numbering.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/repositories/memory_unit.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/store/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/store/adapters/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/store/adapters/dynamodb.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/store/adapters/in_memory.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/store/adapters/memcached.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/store/adapters/redis.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/store/domain/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/store/domain/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/store/domain/key_value.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/store/domain/lease.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/store/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/store/infrastructure/client.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/store/services/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/store/services/bypass.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/data_layer/store/services/leases.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/domain/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/domain/accents.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/domain/criteria.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/domain/expression.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/domain/grouping.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/domain/pagination.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/domain/resolution.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/domain/sort.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/domain/strict.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/domain/values.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/entrypoint/aggregation.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/entrypoint/evaluation.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/entrypoint/formulas.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/entrypoint/predicates.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/entrypoint/resolution.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/services/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/services/axes.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/services/comparison.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/services/dynamic_values.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/services/evaluation.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/services/formulas.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/services/predicates.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/services/programs.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/criteria/services/reading.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/editing/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/editing/bulk_rules.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/editing/drafts.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/editing/preview.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/checks.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/computations.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/computed.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/entity_collection.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/entity_id.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/entity_meta.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/extensions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/mixins/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/mixins/archivable.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/mixins/audited.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/mixins/event_sourced.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/presentation.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/relations.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/utils/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/entity/utils/annotations.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/events/mixins/deliverable.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/exchange_rates.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/iso_4217.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/metamodel/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/metamodel/domain/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/metamodel/domain/facts.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/metamodel/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/metamodel/entrypoint/models.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/metamodel/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/metamodel/infrastructure/registry.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/metamodel/services/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/metamodel/services/contract.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/money.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/multi_currency.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/multi_language.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/reads/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/reads/defaults.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/reads/violations.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/repositories/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/repositories/aggregate_repository.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/repositories/capabilities.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/repositories/fingerprint.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/repositories/hooks.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/repositories/mixins/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/repositories/numbering.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/repositories/publication.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/repositories/repository.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/value_object.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/dependencies.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/__main__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/aws_lambda/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/aws_lambda/sqs.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/cron/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/cron/adapters/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/cron/adapters/clocks.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/cron/adapters/in_memory_runs.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/cron/adapters/key_value_runs.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/cron/domain/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/cron/domain/clock.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/cron/domain/cron.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/cron/domain/runs.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/cron/domain/schedule.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/cron/gateway/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/cron/gateway/gateway.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/cron/gateway/process.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/cron/registry.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/fastapi/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/fastapi/calling.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/fastapi/contracts.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/fastapi/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/fastapi/problems.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/fastapi/tagged.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/grpc/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/grpc/client.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/grpc/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/grpc/naming.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/grpc/proto.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/grpc/wire.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/mcp/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/mcp/auth.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/mcp/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/mcp/mcp.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/mcp/wire.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/queue/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/queue/channels.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/queue/flavours.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/queue/inbox.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/queue/sqs.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/queue/verdicts.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/queue/wire.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/rest/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/rest/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/rpc/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/rpc/errors.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/rpc/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/rpc/jrpc.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/rpc/serving.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/adapters/rpc/wire.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/domain/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/domain/bindings.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/domain/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/domain/layers.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/domain/packed.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/domain/readiness.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/domain/surface.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/entrypoint/aws_lambda.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/entrypoint/decorators.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/entrypoint/fastapi.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/entrypoint/grpc.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/entrypoint/mcp.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/entrypoint/queue.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/entrypoint/rest.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/entrypoint/rpc.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/entrypoint/workers.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/infrastructure/http.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/infrastructure/json_schema.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/infrastructure/registry.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/services/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/services/catalog.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/services/client_contract.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/services/gateway.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/services/readiness.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/entrypoints/services/scalar_execution.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/error_handler.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/adapters/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/adapters/aws/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/adapters/aws/attributes.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/adapters/aws/queues.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/adapters/background_queue.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/adapters/faststream/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/adapters/faststream/queue.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/adapters/sync_queue.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/domain/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/domain/broker.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/domain/envelope.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/domain/forwarding.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/domain/queue.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/domain/subscribes.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/entrypoint/publisher.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/entrypoint/subscriber.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/services/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/services/dispatch.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/services/forwarding.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/event_driven/services/publication.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/introspection/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/introspection/metamodel.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/introspection/operations.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/introspection/schemas.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ioc.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/api.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/correlation.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/domain.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/errors/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/errors/record_error.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/errors/setup.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/failure.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/field_paths.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/http.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/adapters/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/adapters/in_memory.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/adapters/otel.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/adapters/prometheus.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/domain/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/domain/bus_observability.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/domain/declarations.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/domain/instruments.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/domain/naming.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/domain/recorder.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/entrypoint/facade.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/infrastructure/active.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/infrastructure/registry.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/services/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/services/declaring.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/services/labels.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/services/measuring.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/services/outcomes.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/services/recording.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/metrics/testing.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/mixins/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/mixins/bus_observability.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/otlp.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/registry.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/tracing/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/tracing/attributes.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/tracing/propagation.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/tracing/setup.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/tracing/span_context.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/tracing/span_error.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/observability/tracing/span_execution.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/pipelines/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/pipelines/domain/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/pipelines/domain/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/pipelines/domain/reads.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/pipelines/domain/recipe.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/pipelines/domain/run.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/pipelines/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/pipelines/entrypoint/bus_pipelines.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/pipelines/entrypoint/pipeline.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/pipelines/entrypoint/reads.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/pipelines/services/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/pipelines/services/recorder.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/pipelines/services/runs.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/py.typed +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/registry.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/adapters/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/adapters/grpc.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/adapters/http.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/domain/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/domain/address.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/domain/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/domain/failure_codec.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/domain/payload.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/domain/transport.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/entrypoint/grpc.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/entrypoint/host_process.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/entrypoint/hosted_context.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/entrypoint/hosts.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/entrypoint/http.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/infrastructure/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/infrastructure/configuration.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/services/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/services/hosted_execution.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/remote_execution/services/transports.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/runtime_use_cases/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/runtime_use_cases/domain.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/runtime_use_cases/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/runtime_use_cases/in_memory.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/runtime_use_cases/loading.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/runtime_use_cases/registry.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/analysis/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/analysis/architecture.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/analysis/function_order.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/analysis/settings_scope.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/contracts/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/contracts/auth_provider.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/contracts/caching_strategies.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/contracts/computed_fields.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/contracts/exchange_rates.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/contracts/extension.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/contracts/idempotency_records.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/contracts/key_value_store.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/contracts/object_store.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/doubles/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/doubles/auth.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/doubles/clock.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/doubles/context.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/doubles/dependencies.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/doubles/events.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/runtime/testing/exceptions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/settings/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/settings/adapters/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/settings/adapters/aws.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/settings/adapters/environment.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/settings/adapters/yaml_file.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/settings/domain/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/settings/domain/config.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/settings/domain/description.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/settings/entrypoint/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/settings/entrypoint/building.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/settings/services/__init__.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/settings/services/building.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/settings/services/description.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/settings/services/resolution.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/sincpro_abstractions.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/sincpro_abstractions.pyi +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/sincpro_conf.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/sincpro_logger.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/use_bus.py +0 -0
- {sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/use_bus.pyi +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
"""Every record a criteria matches, out as Parquet, an Arrow stream
|
|
2
|
-
time, never all of them in memory — for whoever
|
|
3
|
-
a nightly dump to a lake, a
|
|
1
|
+
"""Every record a criteria matches, out as Parquet, an Arrow stream, JSON Lines, or the CSV or
|
|
2
|
+
Excel sheet an import reads back — a page at a time, never all of them in memory — for whoever
|
|
3
|
+
needs the whole set: a data-science notebook, a nightly dump to a lake, a person who edits the
|
|
4
|
+
records in a spreadsheet and imports them again.
|
|
4
5
|
|
|
5
6
|
with open("entries.parquet", "wb") as sink:
|
|
6
7
|
write_parquet(sink, repository, Entry, posted) # 2 million rows, 5 000 at a time
|
|
@@ -31,17 +32,23 @@ long as the download lasts — on PostgreSQL that holds back the vacuum, and a r
|
|
|
31
32
|
query that outlives `max_standby_streaming_delay` —, so an export of hours belongs in a job that
|
|
32
33
|
writes a file, not in a request.
|
|
33
34
|
|
|
35
|
+
**CSV and Excel are written to be imported again** (`ddd.importing.writing`): the identity, each
|
|
36
|
+
field as a person writes it, each record a key names by its natural key — found once per export
|
|
37
|
+
—, the children in the rows below. They are the import's columns, not every column: a framework
|
|
38
|
+
field or a computed one is left out.
|
|
39
|
+
|
|
34
40
|
Parquet and Arrow need the `[data-analysis]` extra, pyarrow, imported when asked for; JSON
|
|
35
|
-
Lines
|
|
41
|
+
Lines, CSV and Excel need nothing beyond the framework.
|
|
36
42
|
"""
|
|
37
43
|
|
|
38
44
|
import contextvars
|
|
45
|
+
import csv
|
|
39
46
|
import inspect
|
|
40
47
|
import io
|
|
41
48
|
import json
|
|
42
49
|
from collections.abc import Callable, Generator, Iterator, Mapping
|
|
43
50
|
from contextlib import AbstractContextManager, nullcontext
|
|
44
|
-
from datetime import datetime, timezone
|
|
51
|
+
from datetime import date, datetime, time, timezone
|
|
45
52
|
from decimal import Decimal
|
|
46
53
|
from enum import Enum
|
|
47
54
|
from typing import Any, BinaryIO
|
|
@@ -52,7 +59,16 @@ from pydantic_core import to_jsonable_python
|
|
|
52
59
|
from sincpro_framework.ddd.criteria import CountMode, Criteria, Offset
|
|
53
60
|
from sincpro_framework.ddd.entity.entity_collection import Count, EntityCollection
|
|
54
61
|
from sincpro_framework.ddd.entity.entity_meta import FieldMeta, FieldType, Meta
|
|
55
|
-
from sincpro_framework.ddd.
|
|
62
|
+
from sincpro_framework.ddd.importing.excel import SheetWriter
|
|
63
|
+
from sincpro_framework.ddd.importing.writing import find_names, layout_of, loading, rows_of
|
|
64
|
+
from sincpro_framework.ddd.query import (
|
|
65
|
+
MEDIA_TYPES,
|
|
66
|
+
ExportFormat,
|
|
67
|
+
Streamed,
|
|
68
|
+
_record,
|
|
69
|
+
_version_of,
|
|
70
|
+
writing_out,
|
|
71
|
+
)
|
|
56
72
|
from sincpro_framework.exceptions import ProgrammingError
|
|
57
73
|
|
|
58
74
|
PYARROW_MISSING = (
|
|
@@ -72,15 +88,13 @@ def _pyarrow() -> Any:
|
|
|
72
88
|
return pyarrow
|
|
73
89
|
|
|
74
90
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
91
|
+
EXTENSIONS = {
|
|
92
|
+
ExportFormat.PARQUET: "parquet",
|
|
93
|
+
ExportFormat.ARROW: "arrows",
|
|
94
|
+
ExportFormat.JSON_LINES: "jsonl",
|
|
95
|
+
ExportFormat.CSV: "csv",
|
|
96
|
+
ExportFormat.EXCEL: "xlsx",
|
|
79
97
|
}
|
|
80
|
-
"""The formats an export is written in, by name, with the media type each one travels as —
|
|
81
|
-
both Arrow types are registered with IANA; `application/jsonl` is what FastAPI streams."""
|
|
82
|
-
|
|
83
|
-
EXTENSIONS = {"parquet": "parquet", "arrow": "arrows", "jsonl": "jsonl"}
|
|
84
98
|
|
|
85
99
|
EXPORT_BATCH = 5_000
|
|
86
100
|
"""How many records each page of an export reads, and each batch writes: what the export holds
|
|
@@ -362,10 +376,66 @@ def jsonl_chunks(
|
|
|
362
376
|
yield ("\n".join(lines) + "\n").encode()
|
|
363
377
|
|
|
364
378
|
|
|
379
|
+
def import_rows(
|
|
380
|
+
repository: Any, target: type, criteria: Criteria | None = None, batch: int = EXPORT_BATCH
|
|
381
|
+
) -> Iterator[list[list[Any]]]:
|
|
382
|
+
"""The rows an import reads back, a page of them at a time, the header first: each page read
|
|
383
|
+
with its children and the records of its many-to-manys (`loading`), and every record its
|
|
384
|
+
keys name found once for the whole export (`find_names`)."""
|
|
385
|
+
layout = layout_of(target, criteria.specification if criteria else None)
|
|
386
|
+
names: dict[type, dict[str, str]] = {}
|
|
387
|
+
yield [layout.header]
|
|
388
|
+
for page in pages(repository, target, loading(layout, criteria), batch):
|
|
389
|
+
records = list(page)
|
|
390
|
+
find_names(repository, layout, records, names)
|
|
391
|
+
yield list(rows_of(layout, records, names))
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
def _csv_cell(value: Any) -> Any:
|
|
395
|
+
"""A cell as a CSV holds it: a boolean as `true`/`false`, an exact number never in exponent
|
|
396
|
+
notation, a day or a moment as ISO 8601."""
|
|
397
|
+
if isinstance(value, bool):
|
|
398
|
+
return "true" if value else "false"
|
|
399
|
+
if isinstance(value, Decimal):
|
|
400
|
+
return f"{value:f}"
|
|
401
|
+
if isinstance(value, (date, time)):
|
|
402
|
+
return value.isoformat()
|
|
403
|
+
return value
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
def csv_chunks(
|
|
407
|
+
repository: Any, target: type, criteria: Criteria | None = None, batch: int = EXPORT_BATCH
|
|
408
|
+
) -> Iterator[bytes]:
|
|
409
|
+
"""The rows an import reads back, as CSV: UTF-8 with its BOM — what tells Excel the file is
|
|
410
|
+
UTF-8 —, a page of lines at a time."""
|
|
411
|
+
yield "\ufeff".encode()
|
|
412
|
+
for rows in import_rows(repository, target, criteria, batch):
|
|
413
|
+
text = io.StringIO()
|
|
414
|
+
csv.writer(text, lineterminator="\n").writerows(
|
|
415
|
+
[_csv_cell(value) for value in row] for row in rows
|
|
416
|
+
)
|
|
417
|
+
yield text.getvalue().encode()
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
def xlsx_chunks(
|
|
421
|
+
repository: Any, target: type, criteria: Criteria | None = None, batch: int = EXPORT_BATCH
|
|
422
|
+
) -> Iterator[bytes]:
|
|
423
|
+
"""The rows an import reads back, as an Excel workbook of one sheet named after the entity:
|
|
424
|
+
a page of rows written and handed on at a time."""
|
|
425
|
+
sink = _Drain()
|
|
426
|
+
with SheetWriter(sink, target.__name__) as sheet:
|
|
427
|
+
for rows in import_rows(repository, target, criteria, batch):
|
|
428
|
+
sheet.write(rows)
|
|
429
|
+
yield sink.drained()
|
|
430
|
+
yield sink.drained()
|
|
431
|
+
|
|
432
|
+
|
|
365
433
|
WRITERS: dict[str, Callable[..., Iterator[bytes]]] = {
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
434
|
+
ExportFormat.PARQUET: parquet_chunks,
|
|
435
|
+
ExportFormat.ARROW: arrow_chunks,
|
|
436
|
+
ExportFormat.JSON_LINES: jsonl_chunks,
|
|
437
|
+
ExportFormat.CSV: csv_chunks,
|
|
438
|
+
ExportFormat.EXCEL: xlsx_chunks,
|
|
369
439
|
}
|
|
370
440
|
|
|
371
441
|
|
|
@@ -423,7 +493,7 @@ def exported(
|
|
|
423
493
|
repository: Any,
|
|
424
494
|
target: type,
|
|
425
495
|
criteria: Criteria | None = None,
|
|
426
|
-
format: str =
|
|
496
|
+
format: ExportFormat | str = ExportFormat.PARQUET,
|
|
427
497
|
batch: int = EXPORT_BATCH,
|
|
428
498
|
filename: str = "",
|
|
429
499
|
) -> Streamed:
|
|
@@ -442,11 +512,12 @@ def exported(
|
|
|
442
512
|
raise ProgrammingError(
|
|
443
513
|
f"an export is written as {', '.join(WRITERS)}, not {format!r}"
|
|
444
514
|
)
|
|
445
|
-
|
|
515
|
+
chosen = ExportFormat(format)
|
|
516
|
+
write = WRITERS[chosen]
|
|
446
517
|
chunks = _in_snapshot(repository, lambda unit: write(unit, target, criteria, batch))
|
|
447
518
|
return Streamed(
|
|
448
|
-
media_type=
|
|
449
|
-
filename=filename or f"{target.__name__.lower()}.{EXTENSIONS[
|
|
519
|
+
media_type=MEDIA_TYPES[chosen],
|
|
520
|
+
filename=filename or f"{target.__name__.lower()}.{EXTENSIONS[chosen]}",
|
|
450
521
|
chunks=_carried(chunks, contextvars.copy_context()),
|
|
451
522
|
)
|
|
452
523
|
|
|
@@ -583,7 +654,7 @@ def searched_as_parquet(
|
|
|
583
654
|
|
|
584
655
|
chunks = _in_snapshot(repository, write)
|
|
585
656
|
return Streamed(
|
|
586
|
-
media_type=
|
|
657
|
+
media_type=MEDIA_TYPES[ExportFormat.PARQUET],
|
|
587
658
|
filename=f"{records}.parquet",
|
|
588
659
|
chunks=_carried(chunks, contextvars.copy_context()),
|
|
589
660
|
)
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
audit.py audit_columns AuditedMixin
|
|
5
5
|
archive.py archive_columns ArchivableMixin
|
|
6
6
|
events.py event_table, event_columns the context's domain events
|
|
7
|
+
external_keys.py external_key_table the names other systems give records
|
|
7
8
|
numbering.py numbering_table gapless numbers
|
|
8
9
|
idempotency.py idempotency_table a write run exactly once
|
|
9
10
|
runtime_use_cases.py use_case_table the use cases a context stores
|
|
@@ -27,6 +28,9 @@ from sincpro_framework.data_layer.orm.sqlalchemy.entrypoint.template_table.event
|
|
|
27
28
|
event_columns,
|
|
28
29
|
event_table,
|
|
29
30
|
)
|
|
31
|
+
from sincpro_framework.data_layer.orm.sqlalchemy.entrypoint.template_table.external_keys import (
|
|
32
|
+
external_key_table,
|
|
33
|
+
)
|
|
30
34
|
from sincpro_framework.data_layer.orm.sqlalchemy.entrypoint.template_table.idempotency import (
|
|
31
35
|
idempotency_table,
|
|
32
36
|
)
|
|
@@ -50,6 +54,7 @@ __all__ = [
|
|
|
50
54
|
"entity_table",
|
|
51
55
|
"event_columns",
|
|
52
56
|
"event_table",
|
|
57
|
+
"external_key_table",
|
|
53
58
|
"idempotency_table",
|
|
54
59
|
"numbering_table",
|
|
55
60
|
"properties_column",
|
|
@@ -29,6 +29,7 @@ def event_table(name: str, metadata: MetaData) -> Table:
|
|
|
29
29
|
out id TEXT PRIMARY KEY — a UUID v7: ordering by it is ordering by time
|
|
30
30
|
name TEXT (the class, by its wire name)
|
|
31
31
|
entity_type · entity_id · entity_version (its place in that entity's history)
|
|
32
|
+
entity_display (who the record was) · actor (who did it)
|
|
32
33
|
correlation_id · causation_id · label · created_at
|
|
33
34
|
payload JSON — what the event's own class adds (JSONB on Postgres)
|
|
34
35
|
delivered_at — when a deliverable event went out, empty while it has not
|
|
@@ -48,6 +49,8 @@ def event_table(name: str, metadata: MetaData) -> Table:
|
|
|
48
49
|
Column("entity_type", Text, nullable=False, default=""),
|
|
49
50
|
Column("entity_id", Text, nullable=False, default=""),
|
|
50
51
|
Column("entity_version", Integer),
|
|
52
|
+
Column("entity_display", Text),
|
|
53
|
+
Column("actor", Text),
|
|
51
54
|
Column("correlation_id", Text),
|
|
52
55
|
Column("causation_id", Text),
|
|
53
56
|
Column("label", JsonText),
|
|
@@ -66,8 +69,8 @@ def event_table(name: str, metadata: MetaData) -> Table:
|
|
|
66
69
|
def event_columns() -> list[Column]:
|
|
67
70
|
"""The envelope every `DomainEvent` carries, for a table that stores one.
|
|
68
71
|
|
|
69
|
-
out label JSON · entity_type TEXT · entity_id TEXT
|
|
70
|
-
correlation_id TEXT · causation_id TEXT · entity_version INTEGER
|
|
72
|
+
out label JSON · entity_type TEXT · entity_id TEXT · entity_display TEXT
|
|
73
|
+
actor TEXT · correlation_id TEXT · causation_id TEXT · entity_version INTEGER
|
|
71
74
|
|
|
72
75
|
entity_table("run_advanced", metadata, *event_columns(), Column("run_id", Text))
|
|
73
76
|
|
|
@@ -83,6 +86,8 @@ def event_columns() -> list[Column]:
|
|
|
83
86
|
Column("label", JsonText),
|
|
84
87
|
Column("entity_type", Text),
|
|
85
88
|
Column("entity_id", Text),
|
|
89
|
+
Column("entity_display", Text),
|
|
90
|
+
Column("actor", Text),
|
|
86
91
|
Column("correlation_id", Text),
|
|
87
92
|
Column("causation_id", Text),
|
|
88
93
|
Column("entity_version", Integer),
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"""The table of a bounded context's external keys — the name another system gives each record.
|
|
2
|
+
|
|
3
|
+
keys = external_key_table("sales_external_keys", metadata)
|
|
4
|
+
map_aggregates(mapper, {ExternalKey: keys})
|
|
5
|
+
|
|
6
|
+
One table holds those of every entity of the context, as one table holds its events: an import
|
|
7
|
+
reads them to find the record a file names, and saves them in the same unit of work as the
|
|
8
|
+
records they name.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from sqlalchemy import Column, Index, MetaData, Table, Text, UniqueConstraint
|
|
12
|
+
|
|
13
|
+
from sincpro_framework.data_layer.orm.sqlalchemy.entrypoint.template_table.entity import (
|
|
14
|
+
entity_table,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def external_key_table(name: str, metadata: MetaData) -> Table:
|
|
19
|
+
"""One row per name an origin gives a record.
|
|
20
|
+
|
|
21
|
+
out the entity's columns (id, created_at, updated_at, version)
|
|
22
|
+
origin TEXT · entity_type TEXT · entity_id TEXT · key TEXT
|
|
23
|
+
UNIQUE (origin, entity_type, key) one name, one record
|
|
24
|
+
INDEX (entity_type, entity_id) the names of one record
|
|
25
|
+
|
|
26
|
+
Declared by the project, in its metadata and its migrations, like every other table.
|
|
27
|
+
"""
|
|
28
|
+
return entity_table(
|
|
29
|
+
name,
|
|
30
|
+
metadata,
|
|
31
|
+
Column("origin", Text, nullable=False),
|
|
32
|
+
Column("entity_type", Text, nullable=False),
|
|
33
|
+
Column("entity_id", Text, nullable=False),
|
|
34
|
+
Column("key", Text, nullable=False),
|
|
35
|
+
UniqueConstraint("origin", "entity_type", "key", name=f"{name}_named_once"),
|
|
36
|
+
Index(f"{name}_of_record", "entity_type", "entity_id"),
|
|
37
|
+
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"""One consolidated `Updated` event per aggregate per flush, taken from the engine's own record
|
|
2
|
-
of what it is about to write.
|
|
2
|
+
of what it is about to write — and the facts of its life: removed, archived, brought back.
|
|
3
3
|
|
|
4
4
|
class Invoice(ChangeTrackingMixin, Entity):
|
|
5
5
|
total: int = 0
|
|
@@ -76,8 +76,28 @@ def changed_columns(record: ChangeTrackingMixin) -> dict[str, tuple[Any, Any]]:
|
|
|
76
76
|
return changes
|
|
77
77
|
|
|
78
78
|
|
|
79
|
+
def archived_moved(record: ChangeTrackingMixin) -> tuple[Any, Any]:
|
|
80
|
+
"""`archived_at` before and after this flush — `(None, None)` when the record has no such
|
|
81
|
+
column or this flush does not move it.
|
|
82
|
+
|
|
83
|
+
an invoice archived: archived_moved(invoice) -> (None, datetime(…))
|
|
84
|
+
one brought back: archived_moved(invoice) -> (datetime(…), None)
|
|
85
|
+
"""
|
|
86
|
+
state = inspect(record)
|
|
87
|
+
if state is None or "archived_at" not in state.mapper.column_attrs.keys():
|
|
88
|
+
return None, None
|
|
89
|
+
history = attributes.get_history(record, "archived_at")
|
|
90
|
+
if not history.has_changes():
|
|
91
|
+
return None, None
|
|
92
|
+
return (
|
|
93
|
+
history.deleted[0] if history.deleted else None,
|
|
94
|
+
history.added[0] if history.added else None,
|
|
95
|
+
)
|
|
96
|
+
|
|
97
|
+
|
|
79
98
|
def _tracking(session: Session) -> None:
|
|
80
|
-
"""Records one event per aggregate that is actually changing
|
|
99
|
+
"""Records one event per aggregate that is actually changing, and the facts of the ones
|
|
100
|
+
this flush archives, brings back or removes.
|
|
81
101
|
|
|
82
102
|
`session.dirty` is anything SQLAlchemy is *considering*: an attribute set to the value it
|
|
83
103
|
already held puts the object here without changing a column. `changed_columns` answers
|
|
@@ -91,3 +111,7 @@ def _tracking(session: Session) -> None:
|
|
|
91
111
|
if not isinstance(record, ChangeTrackingMixin) or not goes_out(session, record):
|
|
92
112
|
continue
|
|
93
113
|
record.record_change(changed_columns(record))
|
|
114
|
+
record.record_archiving(*archived_moved(record))
|
|
115
|
+
for record in session.deleted:
|
|
116
|
+
if isinstance(record, ChangeTrackingMixin) and goes_out(session, record):
|
|
117
|
+
record.record_deletion()
|
|
@@ -32,6 +32,8 @@ from sqlalchemy.exc import NoInspectionAvailable
|
|
|
32
32
|
from sqlalchemy.orm import registry
|
|
33
33
|
|
|
34
34
|
from sincpro_framework.data_layer import exceptions
|
|
35
|
+
from sincpro_framework.ddd.entity import Entity
|
|
36
|
+
from sincpro_framework.ddd.entity.utils.annotations import own_annotations
|
|
35
37
|
from sincpro_framework.ddd.events import DomainEvent
|
|
36
38
|
from sincpro_framework.ddd.events.domain_event import NAME
|
|
37
39
|
from sincpro_framework.ddd.events.mixins.deliverable import DELIVERY_FIELDS
|
|
@@ -40,6 +42,12 @@ from sincpro_framework.sincpro_logger import logger
|
|
|
40
42
|
ENVELOPE = frozenset(one.name for one in dataclasses.fields(DomainEvent))
|
|
41
43
|
"""What every event carries; what a subclass declares on top is its payload."""
|
|
42
44
|
|
|
45
|
+
UNUSED = frozenset(one.name for one in dataclasses.fields(Entity)) - frozenset(
|
|
46
|
+
own_annotations(DomainEvent)
|
|
47
|
+
)
|
|
48
|
+
"""What an event inherits from `Entity` and never uses — `updated_at`, `version`: an event is
|
|
49
|
+
written once. Neither a column nor its payload."""
|
|
50
|
+
|
|
43
51
|
COLUMNS_OF_DELIVERY = DELIVERY_FIELDS
|
|
44
52
|
"""A deliverable event's delivery fields are columns of their own, never its payload."""
|
|
45
53
|
|
|
@@ -64,14 +72,21 @@ def _is_mapped(cls: type) -> bool:
|
|
|
64
72
|
return True
|
|
65
73
|
|
|
66
74
|
|
|
67
|
-
def packed(
|
|
68
|
-
"""Before an event is inserted: what its
|
|
69
|
-
|
|
75
|
+
def packed(mapper: Any, _connection: Any, target: Any) -> None:
|
|
76
|
+
"""Before an event is inserted: what has no column of its own goes to `payload` — what its
|
|
77
|
+
class adds, and a field of the envelope the table was made before (`actor`, say): a table
|
|
78
|
+
made by an older release keeps storing every event whole, and gains the column when its
|
|
79
|
+
migration adds it. Its `name` and a deliverable one's delivery are never part of the
|
|
80
|
+
payload."""
|
|
81
|
+
columns = set(mapper.columns.keys())
|
|
70
82
|
written = json.loads(target.as_json())
|
|
71
83
|
target.payload_of_class = {
|
|
72
84
|
key: value
|
|
73
85
|
for key, value in written.items()
|
|
74
|
-
if key not in
|
|
86
|
+
if key not in columns
|
|
87
|
+
and key not in UNUSED
|
|
88
|
+
and key not in COLUMNS_OF_DELIVERY
|
|
89
|
+
and key != NAME
|
|
75
90
|
}
|
|
76
91
|
|
|
77
92
|
|
|
@@ -235,7 +235,11 @@ class ModelIntrospection:
|
|
|
235
235
|
else own
|
|
236
236
|
)
|
|
237
237
|
extended[name] = absent.model_copy(
|
|
238
|
-
update={
|
|
238
|
+
update={
|
|
239
|
+
"owner": extension.entity.__name__,
|
|
240
|
+
"label": own.label,
|
|
241
|
+
"help": own.help,
|
|
242
|
+
}
|
|
239
243
|
)
|
|
240
244
|
|
|
241
245
|
def pointed_at(name: str) -> Meta | None:
|
|
@@ -576,8 +576,9 @@ class MemoryRepository(
|
|
|
576
576
|
repository.add(MoveDelivery(id=7, route="R1"))
|
|
577
577
|
repository.definition(Move).fields["route"].owner -> "MoveDelivery"
|
|
578
578
|
|
|
579
|
-
An added field is described as nullable whatever its type says
|
|
580
|
-
|
|
579
|
+
An added field is described as nullable whatever its type says, with the label and
|
|
580
|
+
help its own class gives it; a field two held subclasses add is described by the
|
|
581
|
+
shallowest one. A field holding another entity is a
|
|
581
582
|
relation a filter may cross (`Through`): this store holds the records themselves.
|
|
582
583
|
"""
|
|
583
584
|
inherited = set(model_of(aggregate).annotations)
|
|
@@ -592,7 +593,13 @@ class MemoryRepository(
|
|
|
592
593
|
field.choices,
|
|
593
594
|
field.exact,
|
|
594
595
|
choice_labels=field.choice_labels,
|
|
595
|
-
).model_copy(
|
|
596
|
+
).model_copy(
|
|
597
|
+
update={
|
|
598
|
+
"owner": kind.__name__,
|
|
599
|
+
"label": field.label,
|
|
600
|
+
"help": field.help,
|
|
601
|
+
}
|
|
602
|
+
)
|
|
596
603
|
held = {
|
|
597
604
|
name: (kind, many)
|
|
598
605
|
for name, annotation in model_of(aggregate).annotations.items()
|
|
@@ -1417,8 +1424,10 @@ class MemoryRepository(
|
|
|
1417
1424
|
repository.remove([invoice_1, invoice_2]) -> None; neither held any more
|
|
1418
1425
|
repository.get(Invoice, invoice_1.id) -> None
|
|
1419
1426
|
|
|
1420
|
-
No cascade here: the children a root owns stay held unless removed with it.
|
|
1421
|
-
|
|
1427
|
+
No cascade here: the children a root owns stay held unless removed with it. What the
|
|
1428
|
+
removed recorded — the fact of their deletion — is stored beside them, as the database
|
|
1429
|
+
stores it, so their history holds it after they are gone. Inside `context()` a raise
|
|
1430
|
+
puts the removed back.
|
|
1422
1431
|
"""
|
|
1423
1432
|
refuse_writing_in_preview("remove")
|
|
1424
1433
|
self._refuse_reentrant_write()
|
|
@@ -1427,6 +1436,7 @@ class MemoryRepository(
|
|
|
1427
1436
|
self._before_remove(one)
|
|
1428
1437
|
for one in records:
|
|
1429
1438
|
self._forget(one)
|
|
1439
|
+
self._store_recorded(records)
|
|
1430
1440
|
for one in records:
|
|
1431
1441
|
self._after_remove(one)
|
|
1432
1442
|
|
|
@@ -38,7 +38,16 @@ from sincpro_framework.ddd.criteria import (
|
|
|
38
38
|
expression_of,
|
|
39
39
|
)
|
|
40
40
|
from sincpro_framework.ddd.editing.editing import apply_values, recompute
|
|
41
|
-
from sincpro_framework.ddd.editing.edits import
|
|
41
|
+
from sincpro_framework.ddd.editing.edits import (
|
|
42
|
+
Archive,
|
|
43
|
+
Delete,
|
|
44
|
+
Edit,
|
|
45
|
+
EditAction,
|
|
46
|
+
EntityEdits,
|
|
47
|
+
Purge,
|
|
48
|
+
ResponseEdit,
|
|
49
|
+
Restore,
|
|
50
|
+
)
|
|
42
51
|
from sincpro_framework.ddd.editing.preview import FormWarning, read_only, warn_form
|
|
43
52
|
from sincpro_framework.ddd.entity import (
|
|
44
53
|
ArchivableMixin,
|
|
@@ -46,6 +55,7 @@ from sincpro_framework.ddd.entity import (
|
|
|
46
55
|
Entity,
|
|
47
56
|
EntityID,
|
|
48
57
|
EntityKey,
|
|
58
|
+
EntityRef,
|
|
49
59
|
EventSourcedMixin,
|
|
50
60
|
Reference,
|
|
51
61
|
new_entity_id,
|
|
@@ -82,6 +92,9 @@ from sincpro_framework.ddd.events import (
|
|
|
82
92
|
ChangeTrackingMixin,
|
|
83
93
|
DeliverableEventMixin,
|
|
84
94
|
DomainEvent,
|
|
95
|
+
EntityArchived,
|
|
96
|
+
EntityDeleted,
|
|
97
|
+
EntityRestored,
|
|
85
98
|
EntityUpdated,
|
|
86
99
|
)
|
|
87
100
|
from sincpro_framework.ddd.exceptions import (
|
|
@@ -90,6 +103,7 @@ from sincpro_framework.ddd.exceptions import (
|
|
|
90
103
|
CurrencyMismatch,
|
|
91
104
|
DomainError,
|
|
92
105
|
DuplicateAggregate,
|
|
106
|
+
ImportRefused,
|
|
93
107
|
InvalidCriteria,
|
|
94
108
|
RelationNotResolved,
|
|
95
109
|
StaleAggregate,
|
|
@@ -97,11 +111,20 @@ from sincpro_framework.ddd.exceptions import (
|
|
|
97
111
|
TransactionConflict,
|
|
98
112
|
)
|
|
99
113
|
from sincpro_framework.ddd.exchange_rates import ExchangeRates, InMemoryExchangeRates
|
|
114
|
+
from sincpro_framework.ddd.importing import (
|
|
115
|
+
EntityImports,
|
|
116
|
+
ExternalKey,
|
|
117
|
+
Import,
|
|
118
|
+
ImportFormat,
|
|
119
|
+
ImportMode,
|
|
120
|
+
ResponseImport,
|
|
121
|
+
)
|
|
100
122
|
from sincpro_framework.ddd.money import Currency, ExchangeRate, Money
|
|
101
123
|
from sincpro_framework.ddd.multi_currency import MultiCurrency
|
|
102
124
|
from sincpro_framework.ddd.multi_language import MultiLanguage
|
|
103
125
|
from sincpro_framework.ddd.query import (
|
|
104
126
|
DraftState,
|
|
127
|
+
ExportFormat,
|
|
105
128
|
Query,
|
|
106
129
|
ResponsePaginatedQuery,
|
|
107
130
|
ResponseRecord,
|
|
@@ -117,6 +140,7 @@ from sincpro_framework.ddd.reads.reads import (
|
|
|
117
140
|
Get,
|
|
118
141
|
GetMany,
|
|
119
142
|
LiteralSearch,
|
|
143
|
+
PageFormat,
|
|
120
144
|
PreviewEntity,
|
|
121
145
|
ResponsePreviewEntity,
|
|
122
146
|
Search,
|
|
@@ -147,6 +171,7 @@ __all__ = [
|
|
|
147
171
|
"Analyzes",
|
|
148
172
|
"Any",
|
|
149
173
|
"ArchivableMixin",
|
|
174
|
+
"Archive",
|
|
150
175
|
"AuditedMixin",
|
|
151
176
|
"Bucket",
|
|
152
177
|
"BusResolver",
|
|
@@ -161,6 +186,7 @@ __all__ = [
|
|
|
161
186
|
"Currency",
|
|
162
187
|
"CurrencyMismatch",
|
|
163
188
|
"Cursor",
|
|
189
|
+
"Delete",
|
|
164
190
|
"DeliverableEventMixin",
|
|
165
191
|
"DomainError",
|
|
166
192
|
"DomainEvent",
|
|
@@ -174,13 +200,20 @@ __all__ = [
|
|
|
174
200
|
"EntityCollection",
|
|
175
201
|
"EntityID",
|
|
176
202
|
"EntityKey",
|
|
203
|
+
"EntityRef",
|
|
177
204
|
"EntityEdits",
|
|
205
|
+
"EntityImports",
|
|
178
206
|
"EntityReads",
|
|
179
207
|
"Export",
|
|
208
|
+
"ExportFormat",
|
|
209
|
+
"EntityArchived",
|
|
210
|
+
"EntityDeleted",
|
|
211
|
+
"EntityRestored",
|
|
180
212
|
"EntityUpdated",
|
|
181
213
|
"EventSourcedMixin",
|
|
182
214
|
"ExchangeRate",
|
|
183
215
|
"ExchangeRates",
|
|
216
|
+
"ExternalKey",
|
|
184
217
|
"FieldMeta",
|
|
185
218
|
"FieldState",
|
|
186
219
|
"FieldType",
|
|
@@ -193,6 +226,10 @@ __all__ = [
|
|
|
193
226
|
"Hooks",
|
|
194
227
|
"INumbering",
|
|
195
228
|
"IRepository",
|
|
229
|
+
"Import",
|
|
230
|
+
"ImportFormat",
|
|
231
|
+
"ImportMode",
|
|
232
|
+
"ImportRefused",
|
|
196
233
|
"InMemoryExchangeRates",
|
|
197
234
|
"InvalidCriteria",
|
|
198
235
|
"LiteralSearch",
|
|
@@ -205,6 +242,7 @@ __all__ = [
|
|
|
205
242
|
"Now",
|
|
206
243
|
"Offset",
|
|
207
244
|
"Operator",
|
|
245
|
+
"PageFormat",
|
|
208
246
|
"Pagination",
|
|
209
247
|
"Part",
|
|
210
248
|
"Period",
|
|
@@ -213,6 +251,7 @@ __all__ = [
|
|
|
213
251
|
"PivotCell",
|
|
214
252
|
"Presentation",
|
|
215
253
|
"PreviewEntity",
|
|
254
|
+
"Purge",
|
|
216
255
|
"Query",
|
|
217
256
|
"ReadsAggregates",
|
|
218
257
|
"Reference",
|
|
@@ -222,11 +261,13 @@ __all__ = [
|
|
|
222
261
|
"RelationKind",
|
|
223
262
|
"Resolver",
|
|
224
263
|
"ResponseEdit",
|
|
264
|
+
"ResponseImport",
|
|
225
265
|
"ResponsePaginatedQuery",
|
|
226
266
|
"Streamed",
|
|
227
267
|
"ResponsePreviewEntity",
|
|
228
268
|
"ResponseRecord",
|
|
229
269
|
"ResponseRecords",
|
|
270
|
+
"Restore",
|
|
230
271
|
"Search",
|
|
231
272
|
"Sort",
|
|
232
273
|
"Specification",
|
{sincpro_framework-3.35.0 → sincpro_framework-3.37.0}/sincpro_framework/ddd/editing/editing.py
RENAMED
|
@@ -25,7 +25,11 @@ from sincpro_framework.ddd.editing.preview import (
|
|
|
25
25
|
warn_form_at,
|
|
26
26
|
warnings_at,
|
|
27
27
|
)
|
|
28
|
-
from sincpro_framework.ddd.entity.entity_collection import
|
|
28
|
+
from sincpro_framework.ddd.entity.entity_collection import (
|
|
29
|
+
EntityCollection,
|
|
30
|
+
identity_name,
|
|
31
|
+
identity_of,
|
|
32
|
+
)
|
|
29
33
|
from sincpro_framework.ddd.entity.entity_meta import (
|
|
30
34
|
Check,
|
|
31
35
|
Computation,
|
|
@@ -72,7 +76,9 @@ def apply_values(record: Any, values: Mapping[str, Any]) -> tuple[str, ...]:
|
|
|
72
76
|
2. A field the framework writes (`id`, `version`, `created_at`, a mixin's) is refused: a
|
|
73
77
|
user's values never set an identity or the version a save is checked against.
|
|
74
78
|
3. Each value is read through the field's annotation: `"50"` into a `Decimal`, `"card"`
|
|
75
|
-
into its enum, a list of mappings into the line records.
|
|
79
|
+
into its enum, a list of mappings into the line records. A collection is compared by its
|
|
80
|
+
records, a many-to-many by which records it names, so the same records sent again — in
|
|
81
|
+
any order, for a many-to-many — are no change.
|
|
76
82
|
3.1 A mapping carrying an identity is the record the field already holds with it,
|
|
77
83
|
edited in place, so its row is updated; an identity the field does not hold is a new
|
|
78
84
|
record built under it: a form mints the identity of a line it creates (UUID v7), and
|
|
@@ -107,7 +113,14 @@ def apply_values(record: Any, values: Mapping[str, Any]) -> tuple[str, ...]:
|
|
|
107
113
|
changed: list[str] = []
|
|
108
114
|
for name, value in values.items():
|
|
109
115
|
read = _read(record, name, annotations[name], value)
|
|
110
|
-
|
|
116
|
+
current = _current(record, name)
|
|
117
|
+
held = list(current) if isinstance(current, EntityCollection) else current
|
|
118
|
+
sent = list(read) if isinstance(read, EntityCollection) else read
|
|
119
|
+
attribute = relation_attribute(owner, name) if isinstance(sent, list) else None
|
|
120
|
+
if attribute is not None and attribute.named_by_id():
|
|
121
|
+
held = {identity_of(one) for one in held or ()} if held is not UNREAD else held
|
|
122
|
+
sent = {identity_of(one) for one in sent}
|
|
123
|
+
if held != sent:
|
|
111
124
|
changed.append(name)
|
|
112
125
|
setattr(record, name, read)
|
|
113
126
|
return tuple(changed)
|