sincpro-framework 3.23.0__tar.gz → 3.23.2__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.
Files changed (538) hide show
  1. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/PKG-INFO +1 -1
  2. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/pyproject.toml +1 -1
  3. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/__init__.py +2 -1
  4. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/__init__.py +2 -0
  5. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/domain/permissions.py +34 -1
  6. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/domain/provider.py +18 -1
  7. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/entrypoint/access_control.py +150 -12
  8. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/entrypoint/asgi.py +37 -2
  9. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/services/guard.py +36 -20
  10. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus.py +6 -3
  11. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus.pyi +3 -3
  12. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/interceptors/__init__.py +6 -2
  13. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/interceptors/interceptor.py +57 -13
  14. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/interceptors/mixins/bus_interceptors.py +51 -10
  15. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/introspection/inspector.py +2 -2
  16. sincpro_framework-3.23.2/sincpro_framework/observability/http.py +307 -0
  17. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/contracts/auth_provider.py +25 -1
  18. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/sincpro_abstractions.pyi +5 -0
  19. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/use_bus.py +22 -6
  20. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/use_bus.pyi +11 -9
  21. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/LICENSE.md +0 -0
  22. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/README.md +0 -0
  23. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/aio/__init__.py +0 -0
  24. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/aio/bus.py +0 -0
  25. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/aio/bus.pyi +0 -0
  26. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/adapters/__init__.py +0 -0
  27. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/adapters/api_key_provider.py +0 -0
  28. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/adapters/role_permissions.py +0 -0
  29. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/adapters/service_token_provider.py +0 -0
  30. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/adapters/static_provider.py +0 -0
  31. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/domain/__init__.py +0 -0
  32. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/domain/exceptions.py +0 -0
  33. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/domain/identity.py +0 -0
  34. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/entrypoint/__init__.py +0 -0
  35. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/entrypoint/security.py +0 -0
  36. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/infrastructure/__init__.py +0 -0
  37. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/infrastructure/security_context.py +0 -0
  38. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/auth/services/__init__.py +0 -0
  39. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/__init__.py +0 -0
  40. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/events.py +0 -0
  41. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/incomes/__init__.py +0 -0
  42. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/incomes/events.py +0 -0
  43. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/incomes/incomes.py +0 -0
  44. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/incomes/listeners.py +0 -0
  45. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/incomes/mixins/__init__.py +0 -0
  46. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/incomes/mixins/bus_incomes.py +0 -0
  47. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/interceptors/mixins/__init__.py +0 -0
  48. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/listeners.py +0 -0
  49. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/outcomes/__init__.py +0 -0
  50. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/outcomes/events.py +0 -0
  51. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/outcomes/listeners.py +0 -0
  52. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/outcomes/mixins/__init__.py +0 -0
  53. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/outcomes/mixins/bus_outcomes.py +0 -0
  54. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/bus_pipeline/outcomes/outcomes.py +0 -0
  55. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/circuit_breaker/__init__.py +0 -0
  56. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/circuit_breaker/circuit_breaker.py +0 -0
  57. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/__init__.py +0 -0
  58. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/aws/__init__.py +0 -0
  59. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/aws/clients.py +0 -0
  60. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/failures/__init__.py +0 -0
  61. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/failures/classification.py +0 -0
  62. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/ids/__init__.py +0 -0
  63. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/ids/uuid7.py +0 -0
  64. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/naming/__init__.py +0 -0
  65. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/naming/case.py +0 -0
  66. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/naming/registered_name.py +0 -0
  67. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/ordering/__init__.py +0 -0
  68. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/ordering/placement.py +0 -0
  69. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/reads/__init__.py +0 -0
  70. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/reads/noting.py +0 -0
  71. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/serialization/__init__.py +0 -0
  72. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/serialization/values.py +0 -0
  73. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/transport/__init__.py +0 -0
  74. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/common/transport/grpc.py +0 -0
  75. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/conf/sincpro_framework_conf.yml +0 -0
  76. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/__init__.py +0 -0
  77. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/adapters/__init__.py +0 -0
  78. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/adapters/codecs.py +0 -0
  79. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/adapters/entries.py +0 -0
  80. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/adapters/propagation.py +0 -0
  81. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/adapters/stores.py +0 -0
  82. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/domain/__init__.py +0 -0
  83. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/domain/codec.py +0 -0
  84. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/domain/drafts.py +0 -0
  85. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/domain/exceptions.py +0 -0
  86. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/domain/execution.py +0 -0
  87. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/domain/keys.py +0 -0
  88. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/domain/level.py +0 -0
  89. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/domain/node.py +0 -0
  90. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/domain/owner.py +0 -0
  91. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/domain/providers.py +0 -0
  92. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/domain/sessions.py +0 -0
  93. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/domain/store.py +0 -0
  94. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/domain/travel.py +0 -0
  95. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/entrypoint/__init__.py +0 -0
  96. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/entrypoint/bus.py +0 -0
  97. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/entrypoint/bus_context.py +0 -0
  98. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/entrypoint/bus_store.py +0 -0
  99. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/entrypoint/executions.py +0 -0
  100. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/entrypoint/facade.py +0 -0
  101. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/entrypoint/propagation.py +0 -0
  102. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/entrypoint/providers.py +0 -0
  103. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/entrypoint/resolution.py +0 -0
  104. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/entrypoint/scopes.py +0 -0
  105. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/entrypoint/threads.py +0 -0
  106. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/infrastructure/__init__.py +0 -0
  107. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/infrastructure/closed_scopes.py +0 -0
  108. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/infrastructure/distributed.py +0 -0
  109. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/infrastructure/outage.py +0 -0
  110. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/infrastructure/shared.py +0 -0
  111. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/infrastructure/travel.py +0 -0
  112. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/infrastructure/tree.py +0 -0
  113. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/services/__init__.py +0 -0
  114. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/services/drafts.py +0 -0
  115. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/services/executions.py +0 -0
  116. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/services/nodes.py +0 -0
  117. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/services/propagation.py +0 -0
  118. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/services/providers.py +0 -0
  119. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/context/services/sessions.py +0 -0
  120. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/__init__.py +0 -0
  121. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/__init__.py +0 -0
  122. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/adapters/__init__.py +0 -0
  123. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/adapters/eviction.py +0 -0
  124. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/adapters/json_codec.py +0 -0
  125. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/adapters/key_value_records.py +0 -0
  126. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/adapters/keys.py +0 -0
  127. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/adapters/observers.py +0 -0
  128. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/domain/__init__.py +0 -0
  129. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/domain/codec.py +0 -0
  130. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/domain/eviction.py +0 -0
  131. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/domain/exceptions.py +0 -0
  132. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/domain/failure.py +0 -0
  133. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/domain/freshness.py +0 -0
  134. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/domain/idempotency_records.py +0 -0
  135. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/domain/idempotent_command.py +0 -0
  136. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/domain/observer.py +0 -0
  137. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/domain/policies.py +0 -0
  138. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/domain/validation.py +0 -0
  139. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/entrypoint/__init__.py +0 -0
  140. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/entrypoint/bus_caching.py +0 -0
  141. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/entrypoint/facades.py +0 -0
  142. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/infrastructure/__init__.py +0 -0
  143. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/infrastructure/clock.py +0 -0
  144. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/infrastructure/flight.py +0 -0
  145. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/services/__init__.py +0 -0
  146. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/services/cache.py +0 -0
  147. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/services/idempotency.py +0 -0
  148. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/caching/services/query_caching.py +0 -0
  149. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/data_analysis/__init__.py +0 -0
  150. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/data_analysis/arrow.py +0 -0
  151. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/data_analysis/cache.py +0 -0
  152. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/data_analysis/frame.py +0 -0
  153. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/exceptions.py +0 -0
  154. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/__init__.py +0 -0
  155. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/adapters/__init__.py +0 -0
  156. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/adapters/in_memory.py +0 -0
  157. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/adapters/manifest.py +0 -0
  158. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/domain/__init__.py +0 -0
  159. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/domain/context_migrations.py +0 -0
  160. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/domain/engine.py +0 -0
  161. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/domain/exceptions.py +0 -0
  162. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/domain/status.py +0 -0
  163. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/domain/step.py +0 -0
  164. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/entrypoint/__init__.py +0 -0
  165. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/entrypoint/command_line.py +0 -0
  166. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/entrypoint/orchestrator.py +0 -0
  167. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/infrastructure/__init__.py +0 -0
  168. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/infrastructure/step_ids.py +0 -0
  169. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/services/__init__.py +0 -0
  170. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/services/authoring.py +0 -0
  171. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/services/moves.py +0 -0
  172. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/services/system.py +0 -0
  173. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/migrations/services/timeline.py +0 -0
  174. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/__init__.py +0 -0
  175. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/__init__.py +0 -0
  176. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/__init__.py +0 -0
  177. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/__init__.py +0 -0
  178. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/engine.py +0 -0
  179. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/environment/env.py +0 -0
  180. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/environment/script.py.mako +0 -0
  181. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/numbering.py +0 -0
  182. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/runtime_use_cases.py +0 -0
  183. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/domain/__init__.py +0 -0
  184. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/domain/consolidation.py +0 -0
  185. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/domain/custom_fields.py +0 -0
  186. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/domain/relations.py +0 -0
  187. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/domain/transaction.py +0 -0
  188. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/__init__.py +0 -0
  189. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/aggregate_repository.py +0 -0
  190. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/idempotency_records.py +0 -0
  191. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/mapping.py +0 -0
  192. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/repository.py +0 -0
  193. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/__init__.py +0 -0
  194. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/archive.py +0 -0
  195. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/audit.py +0 -0
  196. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/entity.py +0 -0
  197. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/events.py +0 -0
  198. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/idempotency.py +0 -0
  199. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/numbering.py +0 -0
  200. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/properties.py +0 -0
  201. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/runtime_use_cases.py +0 -0
  202. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/__init__.py +0 -0
  203. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/change_tracking.py +0 -0
  204. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/database.py +0 -0
  205. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/engine_errors.py +0 -0
  206. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/flushing.py +0 -0
  207. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/in_place_changes.py +0 -0
  208. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/mapping_registry.py +0 -0
  209. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/observability.py +0 -0
  210. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/read_tracking.py +0 -0
  211. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/transaction_hooks.py +0 -0
  212. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/transaction_opening.py +0 -0
  213. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/unit_in_play.py +0 -0
  214. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/__init__.py +0 -0
  215. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/aggregation.py +0 -0
  216. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/cache_invalidation.py +0 -0
  217. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/cascade.py +0 -0
  218. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/data_mapper.py +0 -0
  219. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/event_mapping.py +0 -0
  220. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/extension_mapping.py +0 -0
  221. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/extension_typing.py +0 -0
  222. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/extension_writing.py +0 -0
  223. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/model_introspection.py +0 -0
  224. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/relation_resolver.py +0 -0
  225. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/sql_translator.py +0 -0
  226. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/upsert.py +0 -0
  227. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/__init__.py +0 -0
  228. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/reading.py +0 -0
  229. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/repository_state.py +0 -0
  230. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/unit_of_work.py +0 -0
  231. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/writing.py +0 -0
  232. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/repositories/__init__.py +0 -0
  233. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/repositories/memory_numbering.py +0 -0
  234. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/repositories/memory_repository.py +0 -0
  235. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/repositories/memory_unit.py +0 -0
  236. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/store/__init__.py +0 -0
  237. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/store/adapters/__init__.py +0 -0
  238. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/store/adapters/dynamodb.py +0 -0
  239. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/store/adapters/in_memory.py +0 -0
  240. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/store/adapters/memcached.py +0 -0
  241. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/store/adapters/redis.py +0 -0
  242. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/store/domain/__init__.py +0 -0
  243. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/store/domain/exceptions.py +0 -0
  244. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/store/domain/key_value.py +0 -0
  245. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/store/domain/lease.py +0 -0
  246. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/store/infrastructure/__init__.py +0 -0
  247. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/store/infrastructure/client.py +0 -0
  248. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/store/services/__init__.py +0 -0
  249. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/store/services/bypass.py +0 -0
  250. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/data_layer/store/services/leases.py +0 -0
  251. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/__init__.py +0 -0
  252. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/__init__.py +0 -0
  253. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/domain/__init__.py +0 -0
  254. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/domain/criteria.py +0 -0
  255. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/domain/expression.py +0 -0
  256. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/domain/grouping.py +0 -0
  257. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/domain/pagination.py +0 -0
  258. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/domain/resolution.py +0 -0
  259. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/domain/sort.py +0 -0
  260. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/domain/strict.py +0 -0
  261. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/domain/values.py +0 -0
  262. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/entrypoint/__init__.py +0 -0
  263. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/entrypoint/aggregation.py +0 -0
  264. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/entrypoint/evaluation.py +0 -0
  265. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/entrypoint/resolution.py +0 -0
  266. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/services/__init__.py +0 -0
  267. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/services/axes.py +0 -0
  268. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/services/comparison.py +0 -0
  269. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/services/dynamic_values.py +0 -0
  270. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/services/evaluation.py +0 -0
  271. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/criteria/services/reading.py +0 -0
  272. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/editing/__init__.py +0 -0
  273. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/editing/drafts.py +0 -0
  274. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/editing/editing.py +0 -0
  275. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/editing/edits.py +0 -0
  276. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/editing/preview.py +0 -0
  277. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/entity/__init__.py +0 -0
  278. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/entity/computed.py +0 -0
  279. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/entity/derivations.py +0 -0
  280. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/entity/entity.py +0 -0
  281. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/entity/entity_collection.py +0 -0
  282. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/entity/entity_meta.py +0 -0
  283. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/entity/extensions.py +0 -0
  284. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/entity/mixins/__init__.py +0 -0
  285. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/entity/mixins/archivable.py +0 -0
  286. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/entity/mixins/audited.py +0 -0
  287. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/entity/mixins/event_sourced.py +0 -0
  288. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/entity/presentation.py +0 -0
  289. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/entity/relations.py +0 -0
  290. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/entity/utils/__init__.py +0 -0
  291. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/entity/utils/annotations.py +0 -0
  292. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/events/__init__.py +0 -0
  293. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/events/domain_event.py +0 -0
  294. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/events/mixins/__init__.py +0 -0
  295. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/events/mixins/change_tracking.py +0 -0
  296. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/events/mixins/deliverable.py +0 -0
  297. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/exceptions.py +0 -0
  298. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/query.py +0 -0
  299. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/reads/__init__.py +0 -0
  300. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/reads/defaults.py +0 -0
  301. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/reads/reads.py +0 -0
  302. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/repositories/__init__.py +0 -0
  303. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/repositories/aggregate_repository.py +0 -0
  304. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/repositories/capabilities.py +0 -0
  305. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/repositories/fingerprint.py +0 -0
  306. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/repositories/hooks.py +0 -0
  307. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/repositories/mixins/__init__.py +0 -0
  308. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/repositories/mixins/change_tracking.py +0 -0
  309. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/repositories/numbering.py +0 -0
  310. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/repositories/repository.py +0 -0
  311. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ddd/value_object.py +0 -0
  312. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/dependencies.py +0 -0
  313. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/__init__.py +0 -0
  314. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/__init__.py +0 -0
  315. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/aws_lambda/__init__.py +0 -0
  316. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/aws_lambda/sqs.py +0 -0
  317. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/cron/__init__.py +0 -0
  318. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/cron/adapters/__init__.py +0 -0
  319. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/cron/adapters/clocks.py +0 -0
  320. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/cron/adapters/in_memory_runs.py +0 -0
  321. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/cron/adapters/key_value_runs.py +0 -0
  322. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/cron/domain/__init__.py +0 -0
  323. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/cron/domain/clock.py +0 -0
  324. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/cron/domain/cron.py +0 -0
  325. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/cron/domain/runs.py +0 -0
  326. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/cron/domain/schedule.py +0 -0
  327. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/cron/gateway/__init__.py +0 -0
  328. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/cron/gateway/gateway.py +0 -0
  329. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/cron/gateway/process.py +0 -0
  330. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/cron/registry.py +0 -0
  331. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/fastapi/__init__.py +0 -0
  332. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/fastapi/calling.py +0 -0
  333. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/fastapi/exceptions.py +0 -0
  334. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/fastapi/problems.py +0 -0
  335. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/fastapi/wire.py +0 -0
  336. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/grpc/__init__.py +0 -0
  337. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/grpc/client.py +0 -0
  338. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/grpc/exceptions.py +0 -0
  339. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/grpc/naming.py +0 -0
  340. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/grpc/proto.py +0 -0
  341. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/grpc/wire.py +0 -0
  342. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/mcp/__init__.py +0 -0
  343. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/mcp/auth.py +0 -0
  344. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/mcp/exceptions.py +0 -0
  345. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/mcp/mcp.py +0 -0
  346. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/mcp/wire.py +0 -0
  347. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/queue/__init__.py +0 -0
  348. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/queue/channels.py +0 -0
  349. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/queue/flavours.py +0 -0
  350. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/queue/inbox.py +0 -0
  351. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/queue/sqs.py +0 -0
  352. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/queue/verdicts.py +0 -0
  353. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/queue/wire.py +0 -0
  354. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/rest/__init__.py +0 -0
  355. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/rest/exceptions.py +0 -0
  356. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/rest/openapi.py +0 -0
  357. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/rest/routing.py +0 -0
  358. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/rest/serving.py +0 -0
  359. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/rpc/__init__.py +0 -0
  360. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/rpc/errors.py +0 -0
  361. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/rpc/exceptions.py +0 -0
  362. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/rpc/jrpc.py +0 -0
  363. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/rpc/serving.py +0 -0
  364. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/adapters/rpc/wire.py +0 -0
  365. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/domain/__init__.py +0 -0
  366. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/domain/bindings.py +0 -0
  367. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/domain/layers.py +0 -0
  368. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/domain/packed.py +0 -0
  369. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/domain/surface.py +0 -0
  370. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/entrypoint/__init__.py +0 -0
  371. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/entrypoint/aws_lambda.py +0 -0
  372. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/entrypoint/decorators.py +0 -0
  373. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/entrypoint/fastapi.py +0 -0
  374. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/entrypoint/grpc.py +0 -0
  375. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/entrypoint/mcp.py +0 -0
  376. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/entrypoint/queue.py +0 -0
  377. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/entrypoint/rest.py +0 -0
  378. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/entrypoint/rpc.py +0 -0
  379. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/entrypoint/workers.py +0 -0
  380. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/infrastructure/__init__.py +0 -0
  381. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/infrastructure/http.py +0 -0
  382. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/infrastructure/json_schema.py +0 -0
  383. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/infrastructure/registry.py +0 -0
  384. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/services/__init__.py +0 -0
  385. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/services/catalog.py +0 -0
  386. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/services/gateway.py +0 -0
  387. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/entrypoints/services/scalar_execution.py +0 -0
  388. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/error_handler.py +0 -0
  389. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/__init__.py +0 -0
  390. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/adapters/__init__.py +0 -0
  391. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/adapters/aws/__init__.py +0 -0
  392. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/adapters/aws/attributes.py +0 -0
  393. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/adapters/aws/queues.py +0 -0
  394. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/adapters/background_queue.py +0 -0
  395. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/adapters/faststream/__init__.py +0 -0
  396. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/adapters/faststream/queue.py +0 -0
  397. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/adapters/repository_queue.py +0 -0
  398. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/adapters/sync_queue.py +0 -0
  399. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/domain/__init__.py +0 -0
  400. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/domain/broker.py +0 -0
  401. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/domain/envelope.py +0 -0
  402. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/domain/failure.py +0 -0
  403. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/domain/queue.py +0 -0
  404. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/domain/relay.py +0 -0
  405. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/domain/subscribes.py +0 -0
  406. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/entrypoint/__init__.py +0 -0
  407. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/entrypoint/publisher.py +0 -0
  408. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/entrypoint/relay.py +0 -0
  409. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/entrypoint/subscriber.py +0 -0
  410. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/services/__init__.py +0 -0
  411. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/services/dispatch.py +0 -0
  412. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/services/publication.py +0 -0
  413. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/event_driven/services/relaying.py +0 -0
  414. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/exceptions.py +0 -0
  415. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/introspection/__init__.py +0 -0
  416. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/introspection/operations.py +0 -0
  417. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/ioc.py +0 -0
  418. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/__init__.py +0 -0
  419. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/api.py +0 -0
  420. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/correlation.py +0 -0
  421. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/domain.py +0 -0
  422. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/errors/__init__.py +0 -0
  423. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/errors/record_error.py +0 -0
  424. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/errors/setup.py +0 -0
  425. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/failure.py +0 -0
  426. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/field_paths.py +0 -0
  427. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/__init__.py +0 -0
  428. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/adapters/__init__.py +0 -0
  429. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/adapters/in_memory.py +0 -0
  430. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/adapters/otel.py +0 -0
  431. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/adapters/prometheus.py +0 -0
  432. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/domain/__init__.py +0 -0
  433. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/domain/bus_observability.py +0 -0
  434. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/domain/declarations.py +0 -0
  435. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/domain/instruments.py +0 -0
  436. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/domain/naming.py +0 -0
  437. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/domain/recorder.py +0 -0
  438. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/entrypoint/__init__.py +0 -0
  439. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/entrypoint/facade.py +0 -0
  440. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/infrastructure/__init__.py +0 -0
  441. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/infrastructure/active.py +0 -0
  442. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/infrastructure/registry.py +0 -0
  443. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/services/__init__.py +0 -0
  444. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/services/declaring.py +0 -0
  445. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/services/labels.py +0 -0
  446. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/services/measuring.py +0 -0
  447. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/services/outcomes.py +0 -0
  448. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/services/recording.py +0 -0
  449. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/metrics/testing.py +0 -0
  450. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/mixins/__init__.py +0 -0
  451. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/mixins/bus_observability.py +0 -0
  452. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/otlp.py +0 -0
  453. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/registry.py +0 -0
  454. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/tracing/__init__.py +0 -0
  455. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/tracing/attributes.py +0 -0
  456. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/tracing/propagation.py +0 -0
  457. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/tracing/setup.py +0 -0
  458. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/tracing/span_context.py +0 -0
  459. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/tracing/span_error.py +0 -0
  460. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/observability/tracing/span_execution.py +0 -0
  461. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/pipelines/__init__.py +0 -0
  462. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/pipelines/domain/__init__.py +0 -0
  463. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/pipelines/domain/exceptions.py +0 -0
  464. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/pipelines/domain/reads.py +0 -0
  465. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/pipelines/domain/recipe.py +0 -0
  466. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/pipelines/domain/run.py +0 -0
  467. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/pipelines/entrypoint/__init__.py +0 -0
  468. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/pipelines/entrypoint/bus_pipelines.py +0 -0
  469. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/pipelines/entrypoint/pipeline.py +0 -0
  470. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/pipelines/entrypoint/reads.py +0 -0
  471. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/pipelines/services/__init__.py +0 -0
  472. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/pipelines/services/recorder.py +0 -0
  473. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/pipelines/services/runs.py +0 -0
  474. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/py.typed +0 -0
  475. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/registry.py +0 -0
  476. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/__init__.py +0 -0
  477. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/adapters/__init__.py +0 -0
  478. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/adapters/grpc.py +0 -0
  479. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/adapters/http.py +0 -0
  480. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/domain/__init__.py +0 -0
  481. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/domain/address.py +0 -0
  482. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/domain/exceptions.py +0 -0
  483. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/domain/failure_codec.py +0 -0
  484. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/domain/payload.py +0 -0
  485. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/domain/transport.py +0 -0
  486. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/entrypoint/__init__.py +0 -0
  487. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/entrypoint/grpc.py +0 -0
  488. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/entrypoint/host_process.py +0 -0
  489. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/entrypoint/hosted_context.py +0 -0
  490. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/entrypoint/hosts.py +0 -0
  491. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/entrypoint/http.py +0 -0
  492. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/infrastructure/__init__.py +0 -0
  493. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/infrastructure/configuration.py +0 -0
  494. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/services/__init__.py +0 -0
  495. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/services/hosted_execution.py +0 -0
  496. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/remote_execution/services/transports.py +0 -0
  497. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/__init__.py +0 -0
  498. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/runtime_use_cases/__init__.py +0 -0
  499. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/runtime_use_cases/domain.py +0 -0
  500. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/runtime_use_cases/exceptions.py +0 -0
  501. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/runtime_use_cases/in_memory.py +0 -0
  502. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/runtime_use_cases/loading.py +0 -0
  503. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/runtime_use_cases/registry.py +0 -0
  504. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/__init__.py +0 -0
  505. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/analysis/__init__.py +0 -0
  506. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/analysis/architecture.py +0 -0
  507. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/analysis/function_order.py +0 -0
  508. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/analysis/settings_scope.py +0 -0
  509. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/contracts/__init__.py +0 -0
  510. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/contracts/caching_strategies.py +0 -0
  511. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/contracts/computed_fields.py +0 -0
  512. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/contracts/extension.py +0 -0
  513. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/contracts/idempotency_records.py +0 -0
  514. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/contracts/key_value_store.py +0 -0
  515. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/doubles/__init__.py +0 -0
  516. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/doubles/auth.py +0 -0
  517. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/doubles/clock.py +0 -0
  518. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/doubles/context.py +0 -0
  519. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/doubles/dependencies.py +0 -0
  520. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/doubles/events.py +0 -0
  521. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/runtime/testing/exceptions.py +0 -0
  522. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/settings/__init__.py +0 -0
  523. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/settings/adapters/__init__.py +0 -0
  524. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/settings/adapters/aws.py +0 -0
  525. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/settings/adapters/environment.py +0 -0
  526. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/settings/adapters/yaml_file.py +0 -0
  527. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/settings/domain/__init__.py +0 -0
  528. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/settings/domain/config.py +0 -0
  529. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/settings/domain/description.py +0 -0
  530. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/settings/entrypoint/__init__.py +0 -0
  531. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/settings/entrypoint/building.py +0 -0
  532. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/settings/services/__init__.py +0 -0
  533. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/settings/services/building.py +0 -0
  534. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/settings/services/description.py +0 -0
  535. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/settings/services/resolution.py +0 -0
  536. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/sincpro_abstractions.py +0 -0
  537. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/sincpro_conf.py +0 -0
  538. {sincpro_framework-3.23.0 → sincpro_framework-3.23.2}/sincpro_framework/sincpro_logger.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sincpro-framework
3
- Version: 3.23.0
3
+ Version: 3.23.2
4
4
  Summary: Sincpro framework to use DDD, Clean architecture, Hexagonal architecture
5
5
  License: MIT
6
6
  License-File: LICENSE.md
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "sincpro-framework"
3
- version = "3.23.0"
3
+ version = "3.23.2"
4
4
  description = "Sincpro framework to use DDD, Clean architecture, Hexagonal architecture"
5
5
  authors = ["Gutierrez Andres <andru1236@gmail.com>"]
6
6
  readme = "README.md"
@@ -18,7 +18,7 @@ The top level holds what nearly every project imports; each component has its ow
18
18
  `.data_layer.store`, `.data_layer.caching`, …).
19
19
  """
20
20
 
21
- from .bus_pipeline.interceptors import CallNext
21
+ from .bus_pipeline.interceptors import CallNext, Interceptor
22
22
  from .data_layer.caching.entrypoint.facades import cache, idempotency
23
23
  from .exceptions import (
24
24
  ClientError,
@@ -50,6 +50,7 @@ __all__ = [
50
50
  "ExternalServiceError",
51
51
  "FailureKind",
52
52
  "FrameworkError",
53
+ "Interceptor",
53
54
  "OutcomeUnknownError",
54
55
  "Preview",
55
56
  "ProgrammingError",
@@ -41,6 +41,7 @@ from sincpro_framework.auth.domain.identity import Credentials, Identity, Identi
41
41
  from sincpro_framework.auth.domain.permissions import (
42
42
  AccessDeclaration,
43
43
  AnyOf,
44
+ ByField,
44
45
  Permission,
45
46
  WhenDenied,
46
47
  )
@@ -56,6 +57,7 @@ __all__ = [
56
57
  "ApiKeyProvider",
57
58
  "ApiKeyStore",
58
59
  "AnyOf",
60
+ "ByField",
59
61
  "AuthError",
60
62
  "AuthProvider",
61
63
  "Credentials",
@@ -40,7 +40,40 @@ class AnyOf:
40
40
  return " or ".join(str(one) for one in self.permissions)
41
41
 
42
42
 
43
- type Requirement = Permission | AnyOf
43
+ @dataclass(frozen=True)
44
+ class ByField:
45
+ """Met as the permission the Command's own `field` names — `auth.by_field(...)`: what a
46
+ use case needs depends on what it was asked.
47
+
48
+ ByField("direction", (("inbound", RECEIVE), ("outbound", PAY)))
49
+ CommandRegisterPayment(direction="outbound") -> needs PAY
50
+ no Command — a catalog asking -> RECEIVE or PAY
51
+ """
52
+
53
+ field: str
54
+ permissions: tuple[tuple[object, Permission | AnyOf], ...]
55
+
56
+ def chosen(self, dto: object) -> "Permission | AnyOf | None":
57
+ """The requirement `dto`'s field names — `None` when its value names none."""
58
+ value = getattr(dto, self.field, None)
59
+ return next((needed for one, needed in self.permissions if one == value), None)
60
+
61
+ def every(self) -> AnyOf:
62
+ """One among every permission it may name — what is asked with no Command at hand."""
63
+ found: list[Permission] = []
64
+ for _, needed in self.permissions:
65
+ for one in needed.permissions if isinstance(needed, AnyOf) else (needed,):
66
+ if one not in found:
67
+ found.append(one)
68
+ return AnyOf(tuple(found))
69
+
70
+ def __str__(self) -> str:
71
+ """`direction: inbound → finance.receive, outbound → finance.pay`."""
72
+ named = ", ".join(f"{value} → {needed}" for value, needed in self.permissions)
73
+ return f"{self.field}: {named}"
74
+
75
+
76
+ type Requirement = Permission | AnyOf | ByField
44
77
 
45
78
 
46
79
  @dataclass(frozen=True)
@@ -39,7 +39,24 @@ class AuthProvider(ABC):
39
39
  @abstractmethod
40
40
  def authenticate(self, credentials: Credentials) -> Identity | None:
41
41
  """Who the credentials say is calling. `None` when they are not this provider's kind —
42
- the next provider is tried; raise `Unauthenticated` when they are, and fail."""
42
+ the next provider is tried; raise `Unauthenticated` when they are, and fail.
43
+
44
+ A backend the provider asks that does not answer — a registry, a key store, an identity
45
+ server down — is never the caller's credentials failing: raise `ServiceUnavailableError`
46
+ (`sincpro_framework.exceptions`), and every entrypoint answers 503 to retry, never 401.
47
+ """
48
+
49
+ def refusing_any(
50
+ self, identity: Identity, permissions: Sequence[str], reasons: Sequence[str]
51
+ ) -> str | None:
52
+ """The reason told when `identity` holds none of `permissions` — an `any_of` refused
53
+ whole — given each one's own `reasons`, in order. `None`, the default, joins those:
54
+ "lacks a and lacks b"; a provider answers its own words for the whole requirement.
55
+
56
+ refusing_any(ana, ["agents.sales", "agents.crm"], [...])
57
+ -> "this tenant has none of these agents enabled: sales, crm"
58
+ """
59
+ return None
43
60
 
44
61
  def has_permission(
45
62
  self,
@@ -21,6 +21,7 @@ use cases among them entered from outside, `enabled=False` checks nothing at all
21
21
  identity opened by hand — a test, in-process code — answers with its `permissions`.
22
22
  """
23
23
 
24
+ import functools
24
25
  from collections.abc import Mapping, Sequence
25
26
  from typing import TYPE_CHECKING, Any, ClassVar
26
27
  from weakref import WeakKeyDictionary, WeakSet
@@ -30,6 +31,7 @@ from sincpro_framework.auth.domain.identity import Credentials, Identity, Identi
30
31
  from sincpro_framework.auth.domain.permissions import (
31
32
  AccessDeclaration,
32
33
  AnyOf,
34
+ ByField,
33
35
  Permission,
34
36
  Requirement,
35
37
  WhenDenied,
@@ -110,6 +112,8 @@ class AccessControl[P: Permission]:
110
112
  self.declarations = Declarations()
111
113
  self._buses: WeakSet["UseFramework"] = WeakSet()
112
114
  """Every bus guarded — those given to `on` and the generations made of them."""
115
+ self._guards: "WeakKeyDictionary[UseFramework, BusGuard]" = WeakKeyDictionary()
116
+ """The guard this object put on each bus — what `on(bus, replaces=this)` replaces."""
113
117
  self._roots: list["UseFramework"] = []
114
118
  self._hooks: list[Hooks] = []
115
119
  self._hook_guard = HookGuard(self)
@@ -147,7 +151,9 @@ class AccessControl[P: Permission]:
147
151
 
148
152
  # Declaring
149
153
 
150
- def requires(self, *requirements: P | AnyOf, when_denied: WhenDenied = WhenDenied.RAISE):
154
+ def requires(
155
+ self, *requirements: P | AnyOf | ByField, when_denied: WhenDenied = WhenDenied.RAISE
156
+ ):
151
157
  """Every requirement listed, and every other `requires` stacked on the same class, is
152
158
  needed — `any_of` for one among several. On a Feature, an ApplicationService or a Hook.
153
159
 
@@ -168,6 +174,19 @@ class AccessControl[P: Permission]:
168
174
 
169
175
  return declared
170
176
 
177
+ def by_field(self, field: str, permissions: Mapping[Any, P | AnyOf]) -> ByField:
178
+ """A requirement the Command's own `field` chooses — for `requires`: a value it does not
179
+ name is refused; asked with no Command (`may_run`, a catalog), it is one among them.
180
+
181
+ @auth.requires(auth.by_field("direction", {
182
+ Direction.INBOUND: FinancePermission.RECEIVE,
183
+ Direction.OUTBOUND: FinancePermission.PAY,
184
+ }))
185
+ """
186
+ if not permissions:
187
+ raise exceptions.ProgrammingError("by_field() names at least one permission")
188
+ return ByField(field, tuple(permissions.items()))
189
+
171
190
  def any_of(self, *permissions: P) -> AnyOf:
172
191
  """A requirement met by one of `permissions` — for `requires`.
173
192
 
@@ -280,6 +299,7 @@ class AccessControl[P: Permission]:
280
299
  requirement: Requirement,
281
300
  resource: Any,
282
301
  context: Mapping[str, Any] | None,
302
+ dto: Any = None,
283
303
  ) -> exceptions.PermissionDenied | None:
284
304
  """The refusal of a requirement — one permission, or an `AnyOf` refused only when
285
305
  every member is.
@@ -289,8 +309,19 @@ class AccessControl[P: Permission]:
289
309
  "billing.read or billing.admin", "lacks billing.read and lacks billing.admin")
290
310
 
291
311
  Context: every member of an `AnyOf` is asked, even after one is granted — the provider
292
- may be remote, but the answer, and the reasons joined, stay complete and in order.
312
+ may be remote, but the answer, and the reasons joined, stay complete and in order; a
313
+ provider that words the whole refusal (`refusing_any`) is told it instead.
293
314
  """
315
+ if isinstance(requirement, ByField):
316
+ chosen = requirement.every() if dto is None else requirement.chosen(dto)
317
+ if chosen is None:
318
+ value = getattr(dto, requirement.field, None)
319
+ return exceptions.PermissionDenied(
320
+ identity.subject,
321
+ str(requirement),
322
+ f"{requirement.field}={value!r} names no permission",
323
+ )
324
+ return self._denial(identity, chosen, resource, context)
294
325
  if not isinstance(requirement, AnyOf):
295
326
  return self._has(identity, requirement.value, resource, context)
296
327
  denials = [
@@ -299,8 +330,18 @@ class AccessControl[P: Permission]:
299
330
  ]
300
331
  if any(one is None for one in denials):
301
332
  return None
302
- reasons = " and ".join(one.reason for one in denials if one is not None)
303
- return exceptions.PermissionDenied(identity.subject, str(requirement), reasons)
333
+ each = [one.reason for one in denials if one is not None]
334
+ provider = self._provider_of(identity)
335
+ said = (
336
+ None
337
+ if provider is None
338
+ else provider.refusing_any(
339
+ identity, [one.value for one in requirement.permissions], each
340
+ )
341
+ )
342
+ return exceptions.PermissionDenied(
343
+ identity.subject, str(requirement), said or " and ".join(each)
344
+ )
304
345
 
305
346
  def refusal(
306
347
  self,
@@ -309,6 +350,7 @@ class AccessControl[P: Permission]:
309
350
  what: str,
310
351
  resource: Any = None,
311
352
  context: Mapping[str, Any] | None = None,
353
+ dto: Any = None,
312
354
  ) -> exceptions.AuthError | None:
313
355
  """Why `identity` may not run what `declaration` guards — `None` when it may.
314
356
 
@@ -319,14 +361,15 @@ class AccessControl[P: Permission]:
319
361
  -> PermissionDenied("user:42", "billing.invoice.issue")
320
362
 
321
363
  Context: public and the system pass first; nobody is refused before any provider is
322
- asked; then each requirement in order, the first refused answering.
364
+ asked; then each requirement in order, the first refused answering — a `by_field` one
365
+ chosen by `dto`, the Command being run, or one among its permissions without it.
323
366
  """
324
367
  if declaration.kind == "public" or identity.kind == IdentityKind.SYSTEM:
325
368
  return None
326
369
  if identity.is_anonymous:
327
370
  return exceptions.Unauthenticated(f"authenticate to run {what}")
328
371
  for requirement in declaration.requirements:
329
- denied = self._denial(identity, requirement, resource, context)
372
+ denied = self._denial(identity, requirement, resource, context, dto)
330
373
  if denied is not None:
331
374
  return denied
332
375
  return None
@@ -414,18 +457,94 @@ class AccessControl[P: Permission]:
414
457
  def attach(self, bus: "UseFramework") -> None:
415
458
  """What `on(bus)` wires, and what every generation `fresh()` makes of the bus wires
416
459
  again against itself: the guard, and this object as the handlers' `auth`."""
417
- bus.interceptor(sequence=GUARD_SEQUENCE)(BusGuard(self, bus))
460
+ guard = BusGuard(self, bus)
461
+ bus.interceptor(sequence=GUARD_SEQUENCE)(guard)
418
462
  bus.add_dependency("auth", self)
463
+ self._guards[bus] = guard
419
464
  self._buses.add(bus)
420
465
  AccessControl._guarding[bus] = self
421
466
 
422
- def on(self, target: "UseFramework | Hooks") -> None:
467
+ def _replacing(self, replaced: "AccessControl[Any]", bus: "UseFramework") -> None:
468
+ """What `on(bus, replaces=replaced)` wires, and every generation `fresh()` makes of the
469
+ bus wires again: this object's guard in the place of `replaced`'s, and this object as
470
+ the handlers' `auth` — `replaced` guards the bus no more.
471
+
472
+ A bus `replaced` does not guard has nothing to replace: `ProgrammingError`."""
473
+ old = replaced._guards.get(bus)
474
+ if old is None:
475
+ raise exceptions.ProgrammingError(
476
+ f"the AccessControl replaced does not guard '{bus.name}': guard it with on() "
477
+ "instead"
478
+ )
479
+ guard = BusGuard(self, bus)
480
+ bus.interceptor(sequence=GUARD_SEQUENCE, replaces=old)(guard)
481
+ bus.add_dependency("auth", self, replaces=replaced)
482
+ self._guards[bus] = guard
483
+ self._buses.add(bus)
484
+ replaced._buses.discard(bus)
485
+ AccessControl._guarding[bus] = self
486
+
487
+ def refusal_of(
488
+ self,
489
+ bus: "UseFramework",
490
+ command: type,
491
+ identity: Identity | None = None,
492
+ dto: Any = None,
493
+ ) -> exceptions.AuthError | None:
494
+ """Why `identity` — the one in play when none is given — may not run `command` on
495
+ `bus`, without running it: the very decision the bus's guard takes. `None` when it may.
496
+
497
+ auth.refusal_of(billing, CommandIssueInvoice)
498
+ -> PermissionDenied("user:42", "billing.invoice.issue") or None
499
+
500
+ A bus this object does not guard: `ProgrammingError`."""
501
+ guard = self._guards.get(bus)
502
+ if guard is None:
503
+ raise exceptions.ProgrammingError(
504
+ f"this AccessControl does not guard '{bus.name}'"
505
+ )
506
+ return guard.refusal_for(command, identity or current_identity(), dto)
507
+
508
+ def may_run(
509
+ self,
510
+ bus: "UseFramework",
511
+ command: type,
512
+ identity: Identity | None = None,
513
+ dto: Any = None,
514
+ ) -> bool:
515
+ """Whether `identity` — the one in play when none is given — may run `command` on
516
+ `bus`: what a catalog asks to list only what its caller may call, with the same
517
+ declaration that guards the run.
518
+
519
+ [tool for tool in tools if auth.may_run(sales, tool.command)]
520
+ """
521
+ return self.refusal_of(bus, command, identity, dto) is None
522
+
523
+ def using(self, providers: AuthProvider | Sequence[AuthProvider]) -> "AccessControl[P]":
524
+ """This object with other providers — the same declarations, `strict` and `enabled`:
525
+ what a test puts on a `fresh()` bus, so the rules of production are checked against
526
+ providers of its own.
527
+
528
+ test = billing.fresh()
529
+ auth.using(providers=[StaticProvider(...)]).on(test, replaces=auth)
530
+ """
531
+ other: AccessControl[P] = AccessControl(providers, self.strict, self.enabled)
532
+ other.declarations = self.declarations
533
+ return other
534
+
535
+ def on(
536
+ self, target: "UseFramework | Hooks", replaces: "AccessControl[Any] | None" = None
537
+ ) -> None:
423
538
  """Guard every use case of a bus — the bus not built yet — and inject this object in its
424
539
  handlers as `auth`; or every hook of a collection, and of every copy made of it.
425
540
 
426
541
  auth.on(billing) # billing and each generation `fresh()` makes of it
427
542
  auth.on(billing_hooks) # every hook of the collection is gated
428
543
  auth.on(billing) # again -> raises ProgrammingError("... guards 'billing'")
544
+ auth.using(providers=[fake]).on(test, replaces=auth) # a fresh() bus, in a test
545
+
546
+ `replaces` names the `AccessControl` guarding the bus now — what `fresh()` repeats from
547
+ the bus it was made of — and this one takes its place there: its guard and its `auth`.
429
548
 
430
549
  1. Disabled: a warning is logged — the target is wired anyway, and checks nothing.
431
550
  2. A `Hooks` collection:
@@ -439,6 +558,14 @@ class AccessControl[P: Permission]:
439
558
  """
440
559
  if not self.enabled:
441
560
  logger.warning("access control is disabled: nothing it guards is checked")
561
+ if replaces is not None:
562
+ if isinstance(target, Hooks):
563
+ raise exceptions.ProgrammingError(
564
+ "replaces= is for a bus: a Hooks collection is gated by one AccessControl"
565
+ )
566
+ target.extend(functools.partial(self._replacing, replaces))
567
+ self._roots.append(target)
568
+ return
442
569
  if isinstance(target, Hooks):
443
570
  if any(target is one for one in self._hooks):
444
571
  raise exceptions.ProgrammingError("AccessControl already guards this Hooks")
@@ -465,20 +592,31 @@ class AccessControl[P: Permission]:
465
592
  )
466
593
  return declared
467
594
 
468
- def requirements_of(self, cls: type) -> AccessDeclaration | None:
595
+ def requirements_of(
596
+ self, cls: type, bus: "UseFramework | None" = None
597
+ ) -> AccessDeclaration | None:
469
598
  """What a Command's use case, a handler or a hook declared — `None` for nothing.
470
599
 
471
600
  auth.requirements_of(CommandIssueInvoice) -> AccessDeclaration("requires", (ISSUE,))
472
601
  auth.requirements_of(IssueInvoice) -> the same, asked of the handler
473
602
  auth.requirements_of(QueryHealth) -> None # declared nothing
603
+ auth.requirements_of(CommandIssueInvoice, bus=billing) on that bus only
474
604
 
475
605
  Context: a Command a guarded bus runs answers its handler's declaration — its
476
- replacement's when replaced; any other class is looked up as it is.
606
+ replacement's when replaced; with `bus`, the handler that bus answers it with; any other
607
+ class is looked up as it is.
477
608
  """
478
- for bus in list(self._buses):
609
+ if bus is not None:
479
610
  handler = bus.handlers().get(cls)
611
+ return (
612
+ None
613
+ if handler is None
614
+ else self.declarations.of(handler, bus.replaced_for(cls))
615
+ )
616
+ for guarded in list(self._buses):
617
+ handler = guarded.handlers().get(cls)
480
618
  if handler is not None:
481
- return self.declarations.of(handler, bus.replaced_for(cls))
619
+ return self.declarations.of(handler, guarded.replaced_for(cls))
482
620
  return self.declarations.of(cls)
483
621
 
484
622
  def verify(self) -> list[str]:
@@ -14,12 +14,16 @@ through untouched.
14
14
 
15
15
  import asyncio
16
16
  import json
17
+ import math
17
18
  from collections.abc import Awaitable, Callable, MutableMapping
19
+ from datetime import timedelta
18
20
  from typing import TYPE_CHECKING, Any
19
21
 
20
22
  from sincpro_framework.auth.domain import exceptions
21
23
  from sincpro_framework.auth.domain.identity import Credentials
22
24
  from sincpro_framework.auth.infrastructure.security_context import as_identity
25
+ from sincpro_framework.common.failures import retry_after
26
+ from sincpro_framework.exceptions import ExternalServiceError, FailureKind
23
27
 
24
28
  if TYPE_CHECKING:
25
29
  from sincpro_framework.auth.entrypoint.access_control import AccessControl
@@ -59,12 +63,37 @@ class IdentityMiddleware:
59
63
  body = json.dumps({"error": error.refusal_body()}).encode()
60
64
  await send({"type": "http.response.body", "body": body})
61
65
 
66
+ async def _unavailable(self, send: Send, error: ExternalServiceError) -> None:
67
+ """Answer that who calls could not be checked now — 503, to retry after what the error
68
+ says (a second when it says nothing); never what the backend said.
69
+
70
+ ServiceUnavailableError("registry timed out") -> 503, retry-after: 1,
71
+ {"error": {"kind": "unavailable", "reason": "who calls could not be checked…"}}
72
+ """
73
+ wait = retry_after(error, FailureKind.UNAVAILABLE) or timedelta(seconds=1)
74
+ headers = [
75
+ (b"content-type", b"application/json"),
76
+ (b"retry-after", str(max(1, math.ceil(wait.total_seconds()))).encode()),
77
+ ]
78
+ await send({"type": "http.response.start", "status": 503, "headers": headers})
79
+ body = json.dumps(
80
+ {
81
+ "error": {
82
+ "kind": FailureKind.UNAVAILABLE.value,
83
+ "reason": "who calls could not be checked now: retry",
84
+ }
85
+ }
86
+ ).encode()
87
+ await send({"type": "http.response.body", "body": body})
88
+
62
89
  async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:
63
90
  """Run the app for one connection as the identity its credentials stand for.
64
91
 
65
92
  1. A scope that is neither HTTP nor WebSocket (lifespan) passes through untouched.
66
93
  2. `send` is wrapped to note whether the response has started.
67
- 3. Credentials are read from the scope and authenticated on a worker thread.
94
+ 3. Credentials are read from the scope and authenticated on a worker thread — a
95
+ provider whose backend did not answer (`ExternalServiceError`) is a 503 to retry,
96
+ never a 401 nor a 500; a WebSocket lets it propagate.
68
97
  4. The app runs inside `as_identity(identity)`.
69
98
  5. An `AuthError` — from authenticating, or raised by a use case on the way:
70
99
  5.1 the response already started, or the scope is a WebSocket: it propagates;
@@ -83,7 +112,13 @@ class IdentityMiddleware:
83
112
 
84
113
  try:
85
114
  credentials = Credentials.from_asgi(scope, "http")
86
- identity = await asyncio.to_thread(self.access.authenticate, credentials)
115
+ try:
116
+ identity = await asyncio.to_thread(self.access.authenticate, credentials)
117
+ except ExternalServiceError as error:
118
+ if scope["type"] != "http":
119
+ raise
120
+ await self._unavailable(send, error)
121
+ return
87
122
  with as_identity(identity):
88
123
  await self.app(scope, receive, sending)
89
124
  except exceptions.AuthError as error:
@@ -122,8 +122,10 @@ class Access(Protocol):
122
122
  what: str,
123
123
  resource: Any = None,
124
124
  context: Mapping[str, Any] | None = None,
125
+ dto: Any = None,
125
126
  ) -> exceptions.AuthError | None:
126
- """Why `identity` may not run what `declaration` guards — `None` when it may."""
127
+ """Why `identity` may not run what `declaration` guards — `None` when it may; `dto`, the
128
+ Command being run, chooses a `by_field` requirement."""
127
129
  ...
128
130
 
129
131
 
@@ -185,26 +187,42 @@ class BusGuard:
185
187
  finally:
186
188
  _decided.reset(token)
187
189
 
188
- def _undeclared(self, command: type, identity: Identity) -> None:
189
- """Let a use case that declares nothing run, or refuse it.
190
+ def _undeclared(self, command: type, identity: Identity) -> exceptions.AuthError | None:
191
+ """Why a use case that declares nothing may not run — `None` when it may.
190
192
 
191
193
  Context: refused only when strict and entered from outside — nobody calling is asked
192
194
  to authenticate, a known identity is told the use case declares nothing."""
193
195
  entered_by = _decided.get()
194
196
  if entered_by is not None:
195
197
  logger.debug(f"access: {command.__name__} inherits the decision of {entered_by}")
196
- return
198
+ return None
197
199
  if not self.access.strict:
198
- return
199
- refusal: exceptions.AuthError = (
200
+ return None
201
+ return (
200
202
  exceptions.Unauthenticated(f"authenticate to run {command.__name__}")
201
203
  if identity.is_anonymous
202
204
  else exceptions.PermissionDenied(
203
205
  identity.subject, command.__name__, f"{command.__name__} declares no access"
204
206
  )
205
207
  )
206
- logger.warning(f"access refused: {identity.subject} → {command.__name__} — {refusal}")
207
- raise refusal
208
+
209
+ def refusal_for(
210
+ self, command: type, identity: Identity, dto: Any = None
211
+ ) -> exceptions.AuthError | None:
212
+ """Why `identity` may not run `command` on this bus — `None` when it may: the one
213
+ decision the guard runs on, and what `AccessControl.may_run` asks without running.
214
+
215
+ 1. Disabled, or the system acting: it may.
216
+ 2. Declared nothing: it may, unless strict and entered from outside.
217
+ Final: what the declaration requires, asked of the providers."""
218
+ if not self.access.enabled or identity.kind == IdentityKind.SYSTEM:
219
+ return None
220
+ declaration = self.declaration_of(command)
221
+ if declaration is None:
222
+ return self._undeclared(command, identity)
223
+ return self.access.refusal(
224
+ identity, declaration, command.__name__, None, self.bus.current_context(), dto
225
+ )
208
226
 
209
227
  def __call__(self, dto: Any, call_next: Callable[[Any], Any]) -> Any:
210
228
  """Decide whether the identity in play may run the use case `dto` enters, and run it.
@@ -218,18 +236,16 @@ class BusGuard:
218
236
  return call_next(dto)
219
237
  command = type(dto)
220
238
  identity = current_identity()
221
- declaration = (
222
- None if identity.kind == IdentityKind.SYSTEM else self.declaration_of(command)
223
- )
224
- if identity.kind != IdentityKind.SYSTEM and declaration is None:
225
- self._undeclared(command, identity)
226
- elif declaration is not None:
227
- refusal = self.access.refusal(
228
- identity, declaration, command.__name__, None, self.bus.current_context()
229
- )
230
- if refusal is not None:
231
- _refused_or_skipped(refusal, declaration, identity, command.__name__)
232
- return None
239
+ refusal = self.refusal_for(command, identity, dto)
240
+ if refusal is not None:
241
+ declaration = self.declaration_of(command)
242
+ if declaration is None:
243
+ logger.warning(
244
+ f"access refused: {identity.subject} → {command.__name__} — {refusal}"
245
+ )
246
+ raise refusal
247
+ _refused_or_skipped(refusal, declaration, identity, command.__name__)
248
+ return None
233
249
  return self._decided_run(command, call_next, dto)
234
250
 
235
251
 
@@ -17,7 +17,10 @@ from typing import Any, Callable, Dict, Optional, Type
17
17
 
18
18
  from sincpro_framework import exceptions
19
19
  from sincpro_framework.bus_pipeline.incomes.incomes import Incomes
20
- from sincpro_framework.bus_pipeline.interceptors.interceptor import Interceptor, run_around
20
+ from sincpro_framework.bus_pipeline.interceptors.interceptor import (
21
+ InterceptorCall,
22
+ run_around,
23
+ )
21
24
  from sincpro_framework.bus_pipeline.outcomes.outcomes import Outcomes
22
25
  from sincpro_framework.common.ids import new_entity_id
23
26
  from sincpro_framework.common.naming import registered_name
@@ -82,7 +85,7 @@ class FeatureBus(Bus):
82
85
  execution stored as given.
83
86
  """
84
87
  self.feature_registry: Dict[type, Feature] = dict()
85
- self.interceptors: Dict[type, tuple[Interceptor, ...]] = dict()
88
+ self.interceptors: Dict[type, tuple[InterceptorCall, ...]] = dict()
86
89
  self.replacements: Dict[type, tuple[str, ...]] = dict()
87
90
  self.handle_error: Optional[Callable] = None
88
91
  self.logger: Logger = logger_bus or logger # type: ignore[assignment]
@@ -237,7 +240,7 @@ class ApplicationServiceBus(Bus):
237
240
  execution stored as given.
238
241
  """
239
242
  self.app_service_registry: Dict[type, ApplicationService] = dict()
240
- self.interceptors: Dict[type, tuple[Interceptor, ...]] = dict()
243
+ self.interceptors: Dict[type, tuple[InterceptorCall, ...]] = dict()
241
244
  self.replacements: Dict[type, tuple[str, ...]] = dict()
242
245
  self.handle_error: Optional[Callable] = None
243
246
  self.logger = logger_bus or logger
@@ -3,7 +3,7 @@ from typing import Any, Callable, Dict, Optional, Tuple, Type, overload
3
3
  from sincpro_log.logger import LoggerProxy
4
4
 
5
5
  from .bus_pipeline.incomes.incomes import Incomes
6
- from .bus_pipeline.interceptors.interceptor import Interceptor
6
+ from .bus_pipeline.interceptors.interceptor import InterceptorCall
7
7
  from .bus_pipeline.outcomes.outcomes import Outcomes
8
8
  from .context.domain.providers import ContextProvider
9
9
  from .observability import Observability
@@ -26,7 +26,7 @@ class FeatureBus(Bus):
26
26
 
27
27
  log_after_execution: bool
28
28
  feature_registry: Dict[type, Feature]
29
- interceptors: Dict[type, tuple[Interceptor, ...]]
29
+ interceptors: Dict[type, tuple[InterceptorCall, ...]]
30
30
  replacements: Dict[type, tuple[str, ...]]
31
31
  handle_error: Optional[Callable[..., Any]]
32
32
  logger: LoggerProxy
@@ -82,7 +82,7 @@ class ApplicationServiceBus(Bus):
82
82
 
83
83
  log_after_execution: bool
84
84
  app_service_registry: Dict[type, ApplicationService]
85
- interceptors: Dict[type, tuple[Interceptor, ...]]
85
+ interceptors: Dict[type, tuple[InterceptorCall, ...]]
86
86
  replacements: Dict[type, tuple[str, ...]]
87
87
  handle_error: Optional[Callable[..., Any]]
88
88
  logger: LoggerProxy
@@ -5,6 +5,10 @@ def credit_check(dto: CommandCreateInvoice, call_next: CallNext[ResponseCreateIn
5
5
  return call_next(dto)
6
6
  """
7
7
 
8
- from sincpro_framework.bus_pipeline.interceptors.interceptor import CallNext, Interceptor
8
+ from sincpro_framework.bus_pipeline.interceptors.interceptor import (
9
+ CallNext,
10
+ Interceptor,
11
+ InterceptorCall,
12
+ )
9
13
 
10
- __all__ = ["CallNext", "Interceptor"]
14
+ __all__ = ["CallNext", "Interceptor", "InterceptorCall"]