sincpro-framework 3.37.2__tar.gz → 3.38.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (614) hide show
  1. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/PKG-INFO +21 -29
  2. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/README.md +20 -28
  3. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/pyproject.toml +1 -1
  4. sincpro_framework-3.38.0/sincpro_framework/aio/__init__.py +10 -0
  5. sincpro_framework-3.38.0/sincpro_framework/aio/async_threads.py +82 -0
  6. sincpro_framework-3.38.0/sincpro_framework/aio/bus.py +65 -0
  7. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/aio/bus.pyi +5 -6
  8. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/conf/sincpro_framework_conf.yml +1 -0
  9. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/entrypoint/facade.py +17 -0
  10. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/entrypoint/threads.py +13 -1
  11. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/metamodel/entrypoint/models.py +16 -2
  12. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/metamodel/infrastructure/registry.py +20 -2
  13. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/fastapi/calling.py +12 -16
  14. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/fastapi/wire.py +7 -9
  15. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/mcp/mcp.py +17 -10
  16. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/queue/wire.py +8 -7
  17. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/rest/serving.py +5 -3
  18. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/rpc/serving.py +44 -8
  19. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/entrypoint/fastapi.py +3 -8
  20. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/introspection/operations.py +3 -2
  21. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/introspection/schemas.py +46 -6
  22. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/domain.py +21 -14
  23. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/errors/setup.py +4 -6
  24. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/entrypoint/http.py +6 -5
  25. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/settings/domain/config.py +5 -0
  26. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/sincpro_abstractions.py +2 -16
  27. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/sincpro_abstractions.pyi +0 -14
  28. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/use_bus.py +21 -6
  29. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/use_bus.pyi +6 -3
  30. sincpro_framework-3.37.2/sincpro_framework/aio/__init__.py +0 -10
  31. sincpro_framework-3.37.2/sincpro_framework/aio/bus.py +0 -89
  32. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/LICENSE.md +0 -0
  33. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/__init__.py +0 -0
  34. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/__init__.py +0 -0
  35. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/adapters/__init__.py +0 -0
  36. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/adapters/api_key_provider.py +0 -0
  37. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/adapters/role_permissions.py +0 -0
  38. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/adapters/service_token_provider.py +0 -0
  39. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/adapters/static_provider.py +0 -0
  40. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/domain/__init__.py +0 -0
  41. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/domain/exceptions.py +0 -0
  42. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/domain/identity.py +0 -0
  43. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/domain/permissions.py +0 -0
  44. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/domain/provider.py +0 -0
  45. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/entrypoint/__init__.py +0 -0
  46. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/entrypoint/access_control.py +0 -0
  47. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/entrypoint/asgi.py +0 -0
  48. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/entrypoint/security.py +0 -0
  49. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/infrastructure/__init__.py +0 -0
  50. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/infrastructure/security_context.py +0 -0
  51. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/services/__init__.py +0 -0
  52. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/auth/services/guard.py +0 -0
  53. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus.py +0 -0
  54. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus.pyi +0 -0
  55. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/__init__.py +0 -0
  56. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/events.py +0 -0
  57. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/incomes/__init__.py +0 -0
  58. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/incomes/events.py +0 -0
  59. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/incomes/incomes.py +0 -0
  60. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/incomes/listeners.py +0 -0
  61. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/incomes/mixins/__init__.py +0 -0
  62. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/incomes/mixins/bus_incomes.py +0 -0
  63. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/interceptors/__init__.py +0 -0
  64. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/interceptors/interceptor.py +0 -0
  65. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/interceptors/mixins/__init__.py +0 -0
  66. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/interceptors/mixins/bus_interceptors.py +0 -0
  67. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/listeners.py +0 -0
  68. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/outcomes/__init__.py +0 -0
  69. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/outcomes/events.py +0 -0
  70. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/outcomes/listeners.py +0 -0
  71. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/outcomes/mixins/__init__.py +0 -0
  72. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/outcomes/mixins/bus_outcomes.py +0 -0
  73. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/bus_pipeline/outcomes/outcomes.py +0 -0
  74. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/circuit_breaker/__init__.py +0 -0
  75. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/circuit_breaker/circuit_breaker.py +0 -0
  76. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/__init__.py +0 -0
  77. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/aws/__init__.py +0 -0
  78. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/aws/clients.py +0 -0
  79. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/failures/__init__.py +0 -0
  80. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/failures/classification.py +0 -0
  81. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/failures/problem.py +0 -0
  82. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/ids/__init__.py +0 -0
  83. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/ids/uuid7.py +0 -0
  84. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/naming/__init__.py +0 -0
  85. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/naming/case.py +0 -0
  86. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/naming/registered_name.py +0 -0
  87. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/ordering/__init__.py +0 -0
  88. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/ordering/placement.py +0 -0
  89. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/reads/__init__.py +0 -0
  90. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/reads/noting.py +0 -0
  91. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/serialization/__init__.py +0 -0
  92. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/serialization/values.py +0 -0
  93. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/transport/__init__.py +0 -0
  94. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/common/transport/grpc.py +0 -0
  95. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/__init__.py +0 -0
  96. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/adapters/__init__.py +0 -0
  97. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/adapters/codecs.py +0 -0
  98. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/adapters/entries.py +0 -0
  99. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/adapters/propagation.py +0 -0
  100. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/adapters/stores.py +0 -0
  101. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/domain/__init__.py +0 -0
  102. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/domain/codec.py +0 -0
  103. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/domain/drafts.py +0 -0
  104. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/domain/exceptions.py +0 -0
  105. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/domain/execution.py +0 -0
  106. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/domain/keys.py +0 -0
  107. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/domain/level.py +0 -0
  108. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/domain/node.py +0 -0
  109. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/domain/owner.py +0 -0
  110. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/domain/providers.py +0 -0
  111. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/domain/sessions.py +0 -0
  112. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/domain/store.py +0 -0
  113. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/domain/travel.py +0 -0
  114. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/entrypoint/__init__.py +0 -0
  115. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/entrypoint/bus.py +0 -0
  116. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/entrypoint/bus_context.py +0 -0
  117. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/entrypoint/bus_store.py +0 -0
  118. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/entrypoint/executions.py +0 -0
  119. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/entrypoint/propagation.py +0 -0
  120. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/entrypoint/providers.py +0 -0
  121. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/entrypoint/resolution.py +0 -0
  122. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/entrypoint/scopes.py +0 -0
  123. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/infrastructure/__init__.py +0 -0
  124. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/infrastructure/closed_scopes.py +0 -0
  125. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/infrastructure/distributed.py +0 -0
  126. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/infrastructure/outage.py +0 -0
  127. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/infrastructure/shared.py +0 -0
  128. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/infrastructure/travel.py +0 -0
  129. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/infrastructure/tree.py +0 -0
  130. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/services/__init__.py +0 -0
  131. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/services/drafts.py +0 -0
  132. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/services/executions.py +0 -0
  133. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/services/nodes.py +0 -0
  134. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/services/propagation.py +0 -0
  135. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/services/providers.py +0 -0
  136. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/context/services/sessions.py +0 -0
  137. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/__init__.py +0 -0
  138. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/__init__.py +0 -0
  139. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/adapters/__init__.py +0 -0
  140. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/adapters/eviction.py +0 -0
  141. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/adapters/json_codec.py +0 -0
  142. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/adapters/key_value_records.py +0 -0
  143. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/adapters/keys.py +0 -0
  144. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/adapters/observers.py +0 -0
  145. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/domain/__init__.py +0 -0
  146. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/domain/codec.py +0 -0
  147. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/domain/eviction.py +0 -0
  148. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/domain/exceptions.py +0 -0
  149. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/domain/failure.py +0 -0
  150. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/domain/freshness.py +0 -0
  151. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/domain/idempotency_records.py +0 -0
  152. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/domain/idempotent_command.py +0 -0
  153. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/domain/observer.py +0 -0
  154. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/domain/policies.py +0 -0
  155. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/domain/validation.py +0 -0
  156. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/entrypoint/__init__.py +0 -0
  157. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/entrypoint/bus_caching.py +0 -0
  158. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/entrypoint/facades.py +0 -0
  159. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/infrastructure/__init__.py +0 -0
  160. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/infrastructure/clock.py +0 -0
  161. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/infrastructure/flight.py +0 -0
  162. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/services/__init__.py +0 -0
  163. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/services/cache.py +0 -0
  164. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/services/idempotency.py +0 -0
  165. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/caching/services/query_caching.py +0 -0
  166. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/data_analysis/__init__.py +0 -0
  167. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/data_analysis/arrow.py +0 -0
  168. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/data_analysis/cache.py +0 -0
  169. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/data_analysis/export.py +0 -0
  170. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/data_analysis/frame.py +0 -0
  171. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/exceptions.py +0 -0
  172. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/__init__.py +0 -0
  173. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/adapters/__init__.py +0 -0
  174. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/adapters/in_memory.py +0 -0
  175. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/adapters/manifest.py +0 -0
  176. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/domain/__init__.py +0 -0
  177. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/domain/context_migrations.py +0 -0
  178. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/domain/engine.py +0 -0
  179. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/domain/exceptions.py +0 -0
  180. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/domain/status.py +0 -0
  181. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/domain/step.py +0 -0
  182. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/entrypoint/__init__.py +0 -0
  183. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/entrypoint/command_line.py +0 -0
  184. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/entrypoint/orchestrator.py +0 -0
  185. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/infrastructure/__init__.py +0 -0
  186. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/infrastructure/step_ids.py +0 -0
  187. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/services/__init__.py +0 -0
  188. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/services/authoring.py +0 -0
  189. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/services/moves.py +0 -0
  190. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/services/system.py +0 -0
  191. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/migrations/services/timeline.py +0 -0
  192. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/__init__.py +0 -0
  193. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/adapters/__init__.py +0 -0
  194. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/adapters/http_source.py +0 -0
  195. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/adapters/in_memory.py +0 -0
  196. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/adapters/local.py +0 -0
  197. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/adapters/s3_compatible.py +0 -0
  198. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/domain/__init__.py +0 -0
  199. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/domain/exceptions.py +0 -0
  200. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/domain/fetch.py +0 -0
  201. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/domain/object_store.py +0 -0
  202. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/domain/publication.py +0 -0
  203. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/entrypoint/__init__.py +0 -0
  204. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/entrypoint/object_storage.py +0 -0
  205. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/services/__init__.py +0 -0
  206. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/services/contents.py +0 -0
  207. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/services/ids.py +0 -0
  208. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/services/objects.py +0 -0
  209. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/services/publications.py +0 -0
  210. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/object_storage/services/transfers.py +0 -0
  211. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/__init__.py +0 -0
  212. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/__init__.py +0 -0
  213. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/__init__.py +0 -0
  214. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/__init__.py +0 -0
  215. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/engine.py +0 -0
  216. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/environment/__init__.py +0 -0
  217. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/environment/env.py +0 -0
  218. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/migrations/environment/script.py.mako +0 -0
  219. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/numbering.py +0 -0
  220. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/adapters/runtime_use_cases.py +0 -0
  221. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/domain/__init__.py +0 -0
  222. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/domain/consolidation.py +0 -0
  223. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/domain/custom_fields.py +0 -0
  224. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/domain/relations.py +0 -0
  225. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/domain/transaction.py +0 -0
  226. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/__init__.py +0 -0
  227. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/aggregate_repository.py +0 -0
  228. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/idempotency_records.py +0 -0
  229. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/mapping.py +0 -0
  230. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/repository.py +0 -0
  231. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/__init__.py +0 -0
  232. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/archive.py +0 -0
  233. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/audit.py +0 -0
  234. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/entity.py +0 -0
  235. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/events.py +0 -0
  236. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/external_keys.py +0 -0
  237. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/idempotency.py +0 -0
  238. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/numbering.py +0 -0
  239. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/properties.py +0 -0
  240. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/entrypoint/template_table/runtime_use_cases.py +0 -0
  241. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/__init__.py +0 -0
  242. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/change_tracking.py +0 -0
  243. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/database.py +0 -0
  244. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/engine_errors.py +0 -0
  245. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/flushing.py +0 -0
  246. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/in_place_changes.py +0 -0
  247. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/mapping_registry.py +0 -0
  248. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/observability.py +0 -0
  249. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/read_before_commit.py +0 -0
  250. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/read_tracking.py +0 -0
  251. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/transaction_hooks.py +0 -0
  252. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/transaction_opening.py +0 -0
  253. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/infrastructure/unit_in_play.py +0 -0
  254. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/__init__.py +0 -0
  255. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/aggregation.py +0 -0
  256. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/cache_invalidation.py +0 -0
  257. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/cascade.py +0 -0
  258. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/data_mapper.py +0 -0
  259. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/event_mapping.py +0 -0
  260. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/extension_mapping.py +0 -0
  261. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/extension_typing.py +0 -0
  262. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/extension_writing.py +0 -0
  263. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/model_introspection.py +0 -0
  264. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/relation_resolver.py +0 -0
  265. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/sql_translator.py +0 -0
  266. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/upsert.py +0 -0
  267. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/__init__.py +0 -0
  268. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/reading.py +0 -0
  269. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/repository_state.py +0 -0
  270. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/unit_of_work.py +0 -0
  271. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/orm/sqlalchemy/services/workflows/writing.py +0 -0
  272. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/repositories/__init__.py +0 -0
  273. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/repositories/memory_numbering.py +0 -0
  274. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/repositories/memory_repository.py +0 -0
  275. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/repositories/memory_unit.py +0 -0
  276. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/store/__init__.py +0 -0
  277. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/store/adapters/__init__.py +0 -0
  278. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/store/adapters/dynamodb.py +0 -0
  279. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/store/adapters/in_memory.py +0 -0
  280. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/store/adapters/memcached.py +0 -0
  281. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/store/adapters/redis.py +0 -0
  282. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/store/domain/__init__.py +0 -0
  283. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/store/domain/exceptions.py +0 -0
  284. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/store/domain/key_value.py +0 -0
  285. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/store/domain/lease.py +0 -0
  286. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/store/infrastructure/__init__.py +0 -0
  287. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/store/infrastructure/client.py +0 -0
  288. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/store/services/__init__.py +0 -0
  289. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/store/services/bypass.py +0 -0
  290. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/data_layer/store/services/leases.py +0 -0
  291. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/__init__.py +0 -0
  292. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/__init__.py +0 -0
  293. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/domain/__init__.py +0 -0
  294. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/domain/accents.py +0 -0
  295. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/domain/criteria.py +0 -0
  296. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/domain/expression.py +0 -0
  297. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/domain/grouping.py +0 -0
  298. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/domain/pagination.py +0 -0
  299. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/domain/resolution.py +0 -0
  300. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/domain/sort.py +0 -0
  301. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/domain/strict.py +0 -0
  302. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/domain/values.py +0 -0
  303. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/entrypoint/__init__.py +0 -0
  304. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/entrypoint/aggregation.py +0 -0
  305. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/entrypoint/evaluation.py +0 -0
  306. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/entrypoint/formulas.py +0 -0
  307. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/entrypoint/predicates.py +0 -0
  308. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/entrypoint/resolution.py +0 -0
  309. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/services/__init__.py +0 -0
  310. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/services/axes.py +0 -0
  311. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/services/comparison.py +0 -0
  312. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/services/dynamic_values.py +0 -0
  313. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/services/evaluation.py +0 -0
  314. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/services/formulas.py +0 -0
  315. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/services/predicates.py +0 -0
  316. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/services/programs.py +0 -0
  317. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/criteria/services/reading.py +0 -0
  318. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/editing/__init__.py +0 -0
  319. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/editing/bulk_rules.py +0 -0
  320. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/editing/drafts.py +0 -0
  321. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/editing/editing.py +0 -0
  322. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/editing/edits.py +0 -0
  323. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/editing/preview.py +0 -0
  324. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/__init__.py +0 -0
  325. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/checks.py +0 -0
  326. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/computations.py +0 -0
  327. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/computed.py +0 -0
  328. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/entity.py +0 -0
  329. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/entity_collection.py +0 -0
  330. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/entity_id.py +0 -0
  331. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/entity_meta.py +0 -0
  332. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/entity_ref.py +0 -0
  333. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/extensions.py +0 -0
  334. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/mixins/__init__.py +0 -0
  335. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/mixins/archivable.py +0 -0
  336. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/mixins/audited.py +0 -0
  337. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/mixins/event_sourced.py +0 -0
  338. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/presentation.py +0 -0
  339. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/relations.py +0 -0
  340. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/utils/__init__.py +0 -0
  341. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/entity/utils/annotations.py +0 -0
  342. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/events/__init__.py +0 -0
  343. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/events/domain_event.py +0 -0
  344. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/events/mixins/__init__.py +0 -0
  345. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/events/mixins/change_tracking.py +0 -0
  346. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/events/mixins/deliverable.py +0 -0
  347. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/exceptions.py +0 -0
  348. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/exchange_rates.py +0 -0
  349. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/importing/__init__.py +0 -0
  350. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/importing/excel.py +0 -0
  351. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/importing/external_key.py +0 -0
  352. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/importing/imports.py +0 -0
  353. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/importing/reading.py +0 -0
  354. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/importing/shaping.py +0 -0
  355. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/importing/writing.py +0 -0
  356. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/iso_4217.py +0 -0
  357. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/metamodel/__init__.py +0 -0
  358. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/metamodel/domain/__init__.py +0 -0
  359. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/metamodel/domain/declaration.py +0 -0
  360. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/metamodel/domain/facts.py +0 -0
  361. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/metamodel/domain/model.py +0 -0
  362. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/metamodel/entrypoint/__init__.py +0 -0
  363. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/metamodel/infrastructure/__init__.py +0 -0
  364. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/metamodel/services/__init__.py +0 -0
  365. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/metamodel/services/compiler.py +0 -0
  366. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/metamodel/services/contract.py +0 -0
  367. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/metamodel/services/description.py +0 -0
  368. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/money.py +0 -0
  369. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/multi_currency.py +0 -0
  370. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/multi_language.py +0 -0
  371. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/query.py +0 -0
  372. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/reads/__init__.py +0 -0
  373. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/reads/defaults.py +0 -0
  374. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/reads/reads.py +0 -0
  375. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/reads/violations.py +0 -0
  376. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/repositories/__init__.py +0 -0
  377. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/repositories/aggregate_repository.py +0 -0
  378. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/repositories/capabilities.py +0 -0
  379. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/repositories/fingerprint.py +0 -0
  380. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/repositories/hooks.py +0 -0
  381. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/repositories/mixins/__init__.py +0 -0
  382. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/repositories/mixins/change_tracking.py +0 -0
  383. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/repositories/numbering.py +0 -0
  384. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/repositories/publication.py +0 -0
  385. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/repositories/repository.py +0 -0
  386. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ddd/value_object.py +0 -0
  387. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/dependencies.py +0 -0
  388. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/__init__.py +0 -0
  389. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/__main__.py +0 -0
  390. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/__init__.py +0 -0
  391. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/aws_lambda/__init__.py +0 -0
  392. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/aws_lambda/sqs.py +0 -0
  393. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/cron/__init__.py +0 -0
  394. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/cron/adapters/__init__.py +0 -0
  395. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/cron/adapters/clocks.py +0 -0
  396. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/cron/adapters/in_memory_runs.py +0 -0
  397. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/cron/adapters/key_value_runs.py +0 -0
  398. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/cron/domain/__init__.py +0 -0
  399. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/cron/domain/clock.py +0 -0
  400. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/cron/domain/cron.py +0 -0
  401. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/cron/domain/runs.py +0 -0
  402. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/cron/domain/schedule.py +0 -0
  403. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/cron/gateway/__init__.py +0 -0
  404. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/cron/gateway/gateway.py +0 -0
  405. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/cron/gateway/process.py +0 -0
  406. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/cron/registry.py +0 -0
  407. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/fastapi/__init__.py +0 -0
  408. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/fastapi/contracts.py +0 -0
  409. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/fastapi/exceptions.py +0 -0
  410. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/fastapi/problems.py +0 -0
  411. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/fastapi/tagged.py +0 -0
  412. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/grpc/__init__.py +0 -0
  413. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/grpc/client.py +0 -0
  414. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/grpc/exceptions.py +0 -0
  415. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/grpc/naming.py +0 -0
  416. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/grpc/proto.py +0 -0
  417. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/grpc/wire.py +0 -0
  418. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/mcp/__init__.py +0 -0
  419. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/mcp/auth.py +0 -0
  420. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/mcp/exceptions.py +0 -0
  421. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/mcp/wire.py +0 -0
  422. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/queue/__init__.py +0 -0
  423. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/queue/channels.py +0 -0
  424. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/queue/flavours.py +0 -0
  425. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/queue/inbox.py +0 -0
  426. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/queue/sqs.py +0 -0
  427. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/queue/verdicts.py +0 -0
  428. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/rest/__init__.py +0 -0
  429. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/rest/exceptions.py +0 -0
  430. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/rest/openapi.py +0 -0
  431. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/rest/routing.py +0 -0
  432. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/rpc/__init__.py +0 -0
  433. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/rpc/errors.py +0 -0
  434. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/rpc/exceptions.py +0 -0
  435. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/rpc/jrpc.py +0 -0
  436. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/adapters/rpc/wire.py +0 -0
  437. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/domain/__init__.py +0 -0
  438. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/domain/bindings.py +0 -0
  439. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/domain/exceptions.py +0 -0
  440. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/domain/layers.py +0 -0
  441. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/domain/packed.py +0 -0
  442. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/domain/readiness.py +0 -0
  443. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/domain/surface.py +0 -0
  444. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/entrypoint/__init__.py +0 -0
  445. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/entrypoint/aws_lambda.py +0 -0
  446. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/entrypoint/decorators.py +0 -0
  447. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/entrypoint/grpc.py +0 -0
  448. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/entrypoint/mcp.py +0 -0
  449. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/entrypoint/queue.py +0 -0
  450. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/entrypoint/rest.py +0 -0
  451. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/entrypoint/rpc.py +0 -0
  452. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/entrypoint/workers.py +0 -0
  453. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/infrastructure/__init__.py +0 -0
  454. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/infrastructure/http.py +0 -0
  455. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/infrastructure/json_schema.py +0 -0
  456. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/infrastructure/registry.py +0 -0
  457. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/services/__init__.py +0 -0
  458. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/services/catalog.py +0 -0
  459. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/services/client_contract.py +0 -0
  460. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/services/gateway.py +0 -0
  461. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/services/readiness.py +0 -0
  462. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/entrypoints/services/scalar_execution.py +0 -0
  463. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/error_handler.py +0 -0
  464. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/__init__.py +0 -0
  465. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/adapters/__init__.py +0 -0
  466. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/adapters/aws/__init__.py +0 -0
  467. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/adapters/aws/attributes.py +0 -0
  468. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/adapters/aws/queues.py +0 -0
  469. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/adapters/background_queue.py +0 -0
  470. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/adapters/faststream/__init__.py +0 -0
  471. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/adapters/faststream/queue.py +0 -0
  472. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/adapters/sync_queue.py +0 -0
  473. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/domain/__init__.py +0 -0
  474. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/domain/broker.py +0 -0
  475. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/domain/envelope.py +0 -0
  476. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/domain/forwarding.py +0 -0
  477. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/domain/queue.py +0 -0
  478. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/domain/subscribes.py +0 -0
  479. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/entrypoint/__init__.py +0 -0
  480. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/entrypoint/publisher.py +0 -0
  481. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/entrypoint/subscriber.py +0 -0
  482. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/services/__init__.py +0 -0
  483. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/services/dispatch.py +0 -0
  484. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/services/forwarding.py +0 -0
  485. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/event_driven/services/publication.py +0 -0
  486. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/exceptions.py +0 -0
  487. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/introspection/__init__.py +0 -0
  488. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/introspection/entity_tags.py +0 -0
  489. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/introspection/inspector.py +0 -0
  490. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/introspection/metamodel.py +0 -0
  491. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/ioc.py +0 -0
  492. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/__init__.py +0 -0
  493. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/api.py +0 -0
  494. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/correlation.py +0 -0
  495. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/errors/__init__.py +0 -0
  496. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/errors/record_error.py +0 -0
  497. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/failure.py +0 -0
  498. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/field_paths.py +0 -0
  499. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/http.py +0 -0
  500. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/__init__.py +0 -0
  501. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/adapters/__init__.py +0 -0
  502. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/adapters/in_memory.py +0 -0
  503. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/adapters/otel.py +0 -0
  504. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/adapters/prometheus.py +0 -0
  505. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/domain/__init__.py +0 -0
  506. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/domain/bus_observability.py +0 -0
  507. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/domain/declarations.py +0 -0
  508. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/domain/instruments.py +0 -0
  509. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/domain/naming.py +0 -0
  510. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/domain/recorder.py +0 -0
  511. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/entrypoint/__init__.py +0 -0
  512. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/entrypoint/facade.py +0 -0
  513. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/infrastructure/__init__.py +0 -0
  514. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/infrastructure/active.py +0 -0
  515. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/infrastructure/registry.py +0 -0
  516. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/services/__init__.py +0 -0
  517. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/services/declaring.py +0 -0
  518. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/services/labels.py +0 -0
  519. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/services/measuring.py +0 -0
  520. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/services/outcomes.py +0 -0
  521. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/services/recording.py +0 -0
  522. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/metrics/testing.py +0 -0
  523. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/mixins/__init__.py +0 -0
  524. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/mixins/bus_observability.py +0 -0
  525. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/otlp.py +0 -0
  526. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/registry.py +0 -0
  527. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/tracing/__init__.py +0 -0
  528. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/tracing/attributes.py +0 -0
  529. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/tracing/propagation.py +0 -0
  530. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/tracing/setup.py +0 -0
  531. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/tracing/span_context.py +0 -0
  532. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/tracing/span_error.py +0 -0
  533. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/observability/tracing/span_execution.py +0 -0
  534. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/pipelines/__init__.py +0 -0
  535. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/pipelines/domain/__init__.py +0 -0
  536. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/pipelines/domain/exceptions.py +0 -0
  537. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/pipelines/domain/reads.py +0 -0
  538. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/pipelines/domain/recipe.py +0 -0
  539. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/pipelines/domain/run.py +0 -0
  540. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/pipelines/entrypoint/__init__.py +0 -0
  541. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/pipelines/entrypoint/bus_pipelines.py +0 -0
  542. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/pipelines/entrypoint/pipeline.py +0 -0
  543. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/pipelines/entrypoint/reads.py +0 -0
  544. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/pipelines/services/__init__.py +0 -0
  545. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/pipelines/services/recorder.py +0 -0
  546. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/pipelines/services/runs.py +0 -0
  547. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/py.typed +0 -0
  548. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/references/__init__.py +0 -0
  549. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/references/entity_refs.py +0 -0
  550. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/references/resolve.py +0 -0
  551. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/registry.py +0 -0
  552. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/__init__.py +0 -0
  553. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/adapters/__init__.py +0 -0
  554. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/adapters/grpc.py +0 -0
  555. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/adapters/http.py +0 -0
  556. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/domain/__init__.py +0 -0
  557. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/domain/address.py +0 -0
  558. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/domain/exceptions.py +0 -0
  559. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/domain/failure_codec.py +0 -0
  560. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/domain/payload.py +0 -0
  561. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/domain/transport.py +0 -0
  562. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/entrypoint/__init__.py +0 -0
  563. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/entrypoint/grpc.py +0 -0
  564. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/entrypoint/host_process.py +0 -0
  565. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/entrypoint/hosted_context.py +0 -0
  566. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/entrypoint/hosts.py +0 -0
  567. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/infrastructure/__init__.py +0 -0
  568. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/infrastructure/configuration.py +0 -0
  569. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/services/__init__.py +0 -0
  570. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/services/hosted_execution.py +0 -0
  571. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/remote_execution/services/transports.py +0 -0
  572. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/__init__.py +0 -0
  573. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/runtime_use_cases/__init__.py +0 -0
  574. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/runtime_use_cases/domain.py +0 -0
  575. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/runtime_use_cases/exceptions.py +0 -0
  576. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/runtime_use_cases/in_memory.py +0 -0
  577. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/runtime_use_cases/loading.py +0 -0
  578. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/runtime_use_cases/registry.py +0 -0
  579. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/__init__.py +0 -0
  580. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/analysis/__init__.py +0 -0
  581. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/analysis/architecture.py +0 -0
  582. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/analysis/function_order.py +0 -0
  583. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/analysis/settings_scope.py +0 -0
  584. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/contracts/__init__.py +0 -0
  585. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/contracts/auth_provider.py +0 -0
  586. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/contracts/caching_strategies.py +0 -0
  587. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/contracts/computed_fields.py +0 -0
  588. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/contracts/exchange_rates.py +0 -0
  589. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/contracts/extension.py +0 -0
  590. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/contracts/idempotency_records.py +0 -0
  591. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/contracts/key_value_store.py +0 -0
  592. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/contracts/object_store.py +0 -0
  593. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/doubles/__init__.py +0 -0
  594. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/doubles/auth.py +0 -0
  595. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/doubles/clock.py +0 -0
  596. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/doubles/context.py +0 -0
  597. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/doubles/dependencies.py +0 -0
  598. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/doubles/events.py +0 -0
  599. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/runtime/testing/exceptions.py +0 -0
  600. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/settings/__init__.py +0 -0
  601. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/settings/adapters/__init__.py +0 -0
  602. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/settings/adapters/aws.py +0 -0
  603. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/settings/adapters/environment.py +0 -0
  604. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/settings/adapters/yaml_file.py +0 -0
  605. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/settings/domain/__init__.py +0 -0
  606. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/settings/domain/description.py +0 -0
  607. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/settings/entrypoint/__init__.py +0 -0
  608. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/settings/entrypoint/building.py +0 -0
  609. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/settings/services/__init__.py +0 -0
  610. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/settings/services/building.py +0 -0
  611. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/settings/services/description.py +0 -0
  612. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/settings/services/resolution.py +0 -0
  613. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/sincpro_framework/sincpro_conf.py +0 -0
  614. {sincpro_framework-3.37.2 → sincpro_framework-3.38.0}/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.37.2
3
+ Version: 3.38.0
4
4
  Summary: Sincpro framework to use DDD, Clean architecture, Hexagonal architecture
5
5
  License: MIT
6
6
  License-File: LICENSE.md
@@ -346,43 +346,34 @@ class SyncManyFeature(ApplicationService):
346
346
 
347
347
  #### Async fan-out with `get_async_bus()`
348
348
 
349
- Current limitation: the async facade does not create the same per-call context boundary as
350
- `UseFramework.__call__`. Handler writes can persist between calls without an explicit scope;
351
- parallel calls must not share a mutable context mapping. See the current [audit](AUDIT.md).
352
-
353
- - `thread_context()` is for **sync** code manually managing a `ThreadPoolExecutor`. If the
354
- caller is already `async def` (an async host handler, a script) and wants to fan out
355
- several DTOs concurrently instead, use `bus.get_async_bus()` (or the shortcut
356
- `framework.get_async_bus()`).
357
- - Solves the same context-propagation problem as `thread_context()`, via `asyncio.to_thread`
358
- itself (stdlib already propagates `contextvars` into the worker thread). Opposite reuse
359
- rule: an `AsyncBus` is stateless, so get it **once** and `await`/`asyncio.gather` many calls
360
- on it — each call gets its own fresh context snapshot, unlike `thread_context()`'s
361
- single-use-per-snapshot restriction.
362
- - Runs each call via `asyncio.to_thread` (stdlib), so `Feature`/`ApplicationService` stay
363
- 100% sync — no "async Feature" variant to maintain.
349
+ - `thread_context()` is for **sync** code managing a `ThreadPoolExecutor` of its own. A caller
350
+ that is already `async def` (an async host handler, a script) fans out with
351
+ `framework.get_async_bus()`: get it **once** and await it from as many tasks as wanted — each
352
+ call takes its own copy of the caller's context.
353
+ - Each call runs on one of the bus's async threads — the pool REST, JSON-RPC, MCP, a queue and a
354
+ hosted context run on too: the process's, `SINCPRO_FRAMEWORK_ASYNC_THREADS` of them (40 by
355
+ default), or the bus's own with `UseFramework("sandbox", async_threads=8)`.
356
+ `Feature`/`ApplicationService` stay 100% sync: no "async Feature" variant to maintain.
364
357
 
365
358
  ```python
366
359
  import asyncio
367
360
 
368
361
  async def handle_request(framework, dto_a, dto_b, dto_c):
369
362
  async_bus = framework.get_async_bus()
370
- result_a, result_b, result_c = await asyncio.gather(
371
- async_bus(dto_a), async_bus(dto_b), async_bus(dto_c),
372
- )
373
- return result_a, result_b, result_c
363
+ async with asyncio.TaskGroup() as group:
364
+ tasks = [group.create_task(async_bus(dto)) for dto in (dto_a, dto_b, dto_c)]
365
+ return [task.result() for task in tasks]
374
366
  ```
375
367
 
376
368
  **Cancellation and fan-out reliability**
377
369
 
378
- - Cancelling the awaiting coroutine (e.g. a `asyncio.wait_for(...)` timeout) does **not**
379
- stop the `Feature`/`ApplicationService` already running in its worker thread — Python
380
- cannot forcibly kill a thread. Design for that (idempotency, no assumption that a timeout
381
- actually aborted the work) rather than relying on cancellation to stop it.
382
- - For fan-out with proper partial-failure handling, prefer `asyncio.TaskGroup` (3.11+) over
383
- `asyncio.gather`: it cancels sibling tasks on the first failure and raises an
384
- `ExceptionGroup`, instead of `gather`'s default of leaving siblings running and swallowing
385
- all-but-the-first exception unless `return_exceptions=True` is passed.
370
+ - Cancelling the awaiting coroutine (an `asyncio.timeout`, a failed `TaskGroup` sibling) drops a
371
+ call still waiting its turn; one already running runs to its end — Python cannot stop a
372
+ thread — with `self.context.cancelled` set, so a use case that works in steps may stop itself.
373
+ Design for that: idempotency, and no assumption that a timeout aborted the work.
374
+ - Prefer `asyncio.TaskGroup` (3.11+) over `asyncio.gather`: it cancels its siblings on the first
375
+ failure and raises an `ExceptionGroup`, where `gather` leaves them running.
376
+ - The whole picture: [docs/core/async-threads.md](docs/core/async-threads.md).
386
377
 
387
378
  ### ⚠️ Error Handling at Different Levels
388
379
 
@@ -1911,7 +1902,8 @@ attempts it.** Everything below was verified hands-on (3.14.7 vs. 3.14.7t), not
1911
1902
  GIL-build-specific assumption and would legitimately fail if that suite is ever run on a
1912
1903
  free-threaded interpreter.
1913
1904
  - **`asyncio`'s free-threading support only matured in 3.14.** Relevant to `get_async_bus()`
1914
- / `AsyncBus`, which is built on `asyncio.to_thread`: prefer 3.14+ over 3.13t for that path.
1905
+ and every async door, which hand calls from the event loop to the async threads: prefer 3.14+
1906
+ over 3.13t for that path.
1915
1907
  - Registries built once at startup (`feature_registry`, `app_service_registry`,
1916
1908
  `dynamic_dep_registry`, the interceptor chains) are safe as long as nothing mutates them
1917
1909
  concurrently with in-flight executions — true today, not enforced. See the docstring on
@@ -286,43 +286,34 @@ class SyncManyFeature(ApplicationService):
286
286
 
287
287
  #### Async fan-out with `get_async_bus()`
288
288
 
289
- Current limitation: the async facade does not create the same per-call context boundary as
290
- `UseFramework.__call__`. Handler writes can persist between calls without an explicit scope;
291
- parallel calls must not share a mutable context mapping. See the current [audit](AUDIT.md).
292
-
293
- - `thread_context()` is for **sync** code manually managing a `ThreadPoolExecutor`. If the
294
- caller is already `async def` (an async host handler, a script) and wants to fan out
295
- several DTOs concurrently instead, use `bus.get_async_bus()` (or the shortcut
296
- `framework.get_async_bus()`).
297
- - Solves the same context-propagation problem as `thread_context()`, via `asyncio.to_thread`
298
- itself (stdlib already propagates `contextvars` into the worker thread). Opposite reuse
299
- rule: an `AsyncBus` is stateless, so get it **once** and `await`/`asyncio.gather` many calls
300
- on it — each call gets its own fresh context snapshot, unlike `thread_context()`'s
301
- single-use-per-snapshot restriction.
302
- - Runs each call via `asyncio.to_thread` (stdlib), so `Feature`/`ApplicationService` stay
303
- 100% sync — no "async Feature" variant to maintain.
289
+ - `thread_context()` is for **sync** code managing a `ThreadPoolExecutor` of its own. A caller
290
+ that is already `async def` (an async host handler, a script) fans out with
291
+ `framework.get_async_bus()`: get it **once** and await it from as many tasks as wanted — each
292
+ call takes its own copy of the caller's context.
293
+ - Each call runs on one of the bus's async threads — the pool REST, JSON-RPC, MCP, a queue and a
294
+ hosted context run on too: the process's, `SINCPRO_FRAMEWORK_ASYNC_THREADS` of them (40 by
295
+ default), or the bus's own with `UseFramework("sandbox", async_threads=8)`.
296
+ `Feature`/`ApplicationService` stay 100% sync: no "async Feature" variant to maintain.
304
297
 
305
298
  ```python
306
299
  import asyncio
307
300
 
308
301
  async def handle_request(framework, dto_a, dto_b, dto_c):
309
302
  async_bus = framework.get_async_bus()
310
- result_a, result_b, result_c = await asyncio.gather(
311
- async_bus(dto_a), async_bus(dto_b), async_bus(dto_c),
312
- )
313
- return result_a, result_b, result_c
303
+ async with asyncio.TaskGroup() as group:
304
+ tasks = [group.create_task(async_bus(dto)) for dto in (dto_a, dto_b, dto_c)]
305
+ return [task.result() for task in tasks]
314
306
  ```
315
307
 
316
308
  **Cancellation and fan-out reliability**
317
309
 
318
- - Cancelling the awaiting coroutine (e.g. a `asyncio.wait_for(...)` timeout) does **not**
319
- stop the `Feature`/`ApplicationService` already running in its worker thread — Python
320
- cannot forcibly kill a thread. Design for that (idempotency, no assumption that a timeout
321
- actually aborted the work) rather than relying on cancellation to stop it.
322
- - For fan-out with proper partial-failure handling, prefer `asyncio.TaskGroup` (3.11+) over
323
- `asyncio.gather`: it cancels sibling tasks on the first failure and raises an
324
- `ExceptionGroup`, instead of `gather`'s default of leaving siblings running and swallowing
325
- all-but-the-first exception unless `return_exceptions=True` is passed.
310
+ - Cancelling the awaiting coroutine (an `asyncio.timeout`, a failed `TaskGroup` sibling) drops a
311
+ call still waiting its turn; one already running runs to its end — Python cannot stop a
312
+ thread — with `self.context.cancelled` set, so a use case that works in steps may stop itself.
313
+ Design for that: idempotency, and no assumption that a timeout aborted the work.
314
+ - Prefer `asyncio.TaskGroup` (3.11+) over `asyncio.gather`: it cancels its siblings on the first
315
+ failure and raises an `ExceptionGroup`, where `gather` leaves them running.
316
+ - The whole picture: [docs/core/async-threads.md](docs/core/async-threads.md).
326
317
 
327
318
  ### ⚠️ Error Handling at Different Levels
328
319
 
@@ -1851,7 +1842,8 @@ attempts it.** Everything below was verified hands-on (3.14.7 vs. 3.14.7t), not
1851
1842
  GIL-build-specific assumption and would legitimately fail if that suite is ever run on a
1852
1843
  free-threaded interpreter.
1853
1844
  - **`asyncio`'s free-threading support only matured in 3.14.** Relevant to `get_async_bus()`
1854
- / `AsyncBus`, which is built on `asyncio.to_thread`: prefer 3.14+ over 3.13t for that path.
1845
+ and every async door, which hand calls from the event loop to the async threads: prefer 3.14+
1846
+ over 3.13t for that path.
1855
1847
  - Registries built once at startup (`feature_registry`, `app_service_registry`,
1856
1848
  `dynamic_dep_registry`, the interceptor chains) are safe as long as nothing mutates them
1857
1849
  concurrently with in-flight executions — true today, not enforced. See the docstring on
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "sincpro-framework"
3
- version = "3.37.2"
3
+ version = "3.38.0"
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"
@@ -0,0 +1,10 @@
1
+ """Async-facing pieces of the framework: anything meant for an `async def` caller.
2
+
3
+ `AsyncBus` (`bus.py`) is the async door of a bus — `billing.get_async_bus()`. `async_threads.py`
4
+ holds the async threads: where it and every other async door (REST, JSON-RPC, MCP, a queue, a
5
+ hosted context) run the buses — the process's pool, or a bus's own.
6
+ """
7
+
8
+ from sincpro_framework.aio.bus import AsyncBus
9
+
10
+ __all__ = ["AsyncBus"]
@@ -0,0 +1,82 @@
1
+ """The async threads: where every async door runs the buses. One pool for the process, shared by
2
+ every bus, and a pool of its own for a bus that asks for one — a slow context then waits on its
3
+ own threads, never on the others'.
4
+
5
+ SINCPRO_FRAMEWORK_ASYNC_THREADS=150 the process's pool (40 when unset)
6
+ UseFramework("sandbox", async_threads=8) sandbox's own eight
7
+ self.context.cancelled inside a call: did its caller leave?
8
+
9
+ Context: a bus is synchronous and an async door — a REST route, a JSON-RPC body, an MCP tool, a
10
+ queue's message, a hosted context, `get_async_bus()` — runs on an event loop that serves every
11
+ request at once. The door cannot run `execute` on the loop without stopping every other request
12
+ while it waits, so it hands the call to a thread and awaits it. A call that waits on I/O holds its
13
+ thread the whole wait: the threads are how many calls run at once, and the next ones wait their
14
+ turn. A synchronous caller — Odoo, a script, a cron, a Feature calling another bus — runs the bus
15
+ in its own thread and never comes here.
16
+
17
+ A caller that stops waiting — `CancelledError` in the awaiting task — leaves its call one of two
18
+ ways: still waiting its turn, it never runs; already running, it runs on, its context's `cancelled`
19
+ set, so a use case that works in steps may stop itself.
20
+ """
21
+
22
+ import asyncio
23
+ import threading
24
+ import weakref
25
+ from collections.abc import Callable
26
+ from typing import Any
27
+
28
+ from sincpro_framework.context.entrypoint.threads import ContextExecutor, call_cancelled
29
+ from sincpro_framework.sincpro_conf import settings
30
+
31
+ _shared: ContextExecutor | None = None
32
+ """The process's pool, started by the first call that needs it — sized then by
33
+ `settings.async_threads`, so the settings a project hands over at its start are the ones used."""
34
+ _owned: weakref.WeakKeyDictionary[Any, ContextExecutor] = weakref.WeakKeyDictionary()
35
+ """Each pool of a bus that declared `async_threads`, by the bus — let go with it."""
36
+ _starting = threading.Lock()
37
+
38
+
39
+ async def on_async_thread[R](
40
+ bus: Any, function: Callable[..., R], *args: Any, **kwargs: Any
41
+ ) -> R:
42
+ """`function(*args, **kwargs)` on one of `bus`'s async threads, in a copy of the caller's
43
+ context.
44
+
45
+ await on_async_thread(route.bus, call_route, route, payload) -> (200, {...})
46
+ await on_async_thread(None, dispatch, surface, body) the process's pool
47
+
48
+ 1. The pool: `bus`'s own when it declared `async_threads`, started the first time; else the
49
+ process's — for a bus that declared none, and for a call no bus answers (`None`).
50
+ 2. The call's flag, set into the copy of the context the thread runs it in — the caller's
51
+ own context is never written.
52
+ 3. Awaited. The caller stops waiting (`CancelledError`): a call still waiting its turn is
53
+ dropped, a running one has its flag set; the cancellation raised either way.
54
+ Final: what `function` answered, or what it raised.
55
+ """
56
+ global _shared
57
+ own = getattr(bus, "async_threads", None)
58
+ with _starting:
59
+ if own is not None:
60
+ pool = _owned.get(bus)
61
+ if pool is None:
62
+ pool = _owned[bus] = ContextExecutor(
63
+ max_workers=own, thread_name_prefix=f"sincpro-async-{bus.name}"
64
+ )
65
+ else:
66
+ if _shared is None:
67
+ _shared = ContextExecutor(
68
+ max_workers=settings.async_threads, thread_name_prefix="sincpro-async"
69
+ )
70
+ pool = _shared
71
+ flag = threading.Event()
72
+
73
+ def flagged() -> R:
74
+ """The call, with its flag in the context it runs in."""
75
+ call_cancelled.set(flag)
76
+ return function(*args, **kwargs)
77
+
78
+ try:
79
+ return await asyncio.get_running_loop().run_in_executor(pool, flagged)
80
+ except asyncio.CancelledError:
81
+ flag.set()
82
+ raise
@@ -0,0 +1,65 @@
1
+ """AsyncBus: the async door of the bus a project holds — `await billing.get_async_bus()(dto)`.
2
+
3
+ A bus is synchronous end to end, so a caller that is itself `async def` hands each call to a
4
+ thread, and keeps its event loop free while the use case runs. The thread is one of the bus's
5
+ async threads (`aio/async_threads.py`) — its own when it declared `async_threads`, the process's
6
+ otherwise —, each call in a copy of its caller's context: `self.context` reads what the caller had
7
+ set, and nothing the call sets leaks back.
8
+ """
9
+
10
+ from collections.abc import Callable
11
+ from typing import TYPE_CHECKING, Any, Type
12
+
13
+ from sincpro_framework.aio.async_threads import on_async_thread
14
+
15
+ if TYPE_CHECKING:
16
+ from ..sincpro_abstractions import TypeDTO, TypeDTOResponse
17
+
18
+
19
+ class AsyncBus:
20
+ """Async facade over a sync bus.
21
+
22
+ Stateless and safe to reuse concurrently (`asyncio.gather`, a `TaskGroup`): every call takes
23
+ its own copy of the caller's context, so there is nothing shared to race on between calls.
24
+
25
+ async_bus = billing.get_async_bus()
26
+ async with asyncio.TaskGroup() as group:
27
+ for dto in dtos:
28
+ group.create_task(async_bus(dto))
29
+
30
+ As many calls run at once as the bus has async threads; the next ones wait their turn. A
31
+ caller that stops waiting — a `TaskGroup` sibling failed, an `asyncio.timeout` passed — drops
32
+ a call still waiting its turn; one already running runs to its end, its
33
+ `self.context.cancelled` set, since a thread cannot be stopped from outside.
34
+ Design for that: idempotency, and no assumption that a timeout stopped the work.
35
+
36
+ Prefer `asyncio.TaskGroup` (3.11+) over `asyncio.gather` to fan out: it cancels its siblings
37
+ on the first failure and raises an `ExceptionGroup`, where `gather` leaves them running.
38
+ """
39
+
40
+ def __init__(self, run: Callable[..., Any]) -> None:
41
+ """Wrap whatever runs a DTO synchronously — nothing else is stored, so one instance
42
+ serves any number of concurrent awaits."""
43
+ self._run = run
44
+ """What runs a DTO on an async thread: the `UseFramework` itself — which builds on first
45
+ use, opens the call's scope and forwards a context hosted elsewhere —, and whose async
46
+ threads it runs on."""
47
+
48
+ async def execute(
49
+ self, dto: "TypeDTO", return_type: "Type[TypeDTOResponse] | None" = None
50
+ ) -> "TypeDTOResponse | None":
51
+ """Run the DTO on one of the bus's async threads, in a copy of the caller's context.
52
+
53
+ await billing.get_async_bus().execute(CommandIssue(total=10), Issued) -> Issued
54
+ """
55
+ return await on_async_thread(self._run, self._run, dto, return_type)
56
+
57
+ async def __call__(
58
+ self, dto: "TypeDTO", return_type: "Type[TypeDTOResponse] | None" = None
59
+ ) -> "TypeDTOResponse | None":
60
+ """`await async_bus(dto)` — the same as `await async_bus.execute(dto)`, as a sync
61
+ `Bus` is called.
62
+
63
+ await billing.get_async_bus()(CreateInvoice(amount=10)) -> InvoiceCreated(...)
64
+ """
65
+ return await self.execute(dto, return_type)
@@ -6,13 +6,12 @@ if TYPE_CHECKING:
6
6
 
7
7
  class AsyncBus:
8
8
  """
9
- Async facade over a sync `Bus`, for callers that are themselves async.
9
+ The async door of the bus a project holds — `await billing.get_async_bus()(dto)`.
10
10
 
11
- Dispatches via `asyncio.to_thread`, which propagates the caller's
12
- `contextvars.Context` to the worker thread on its own (stdlib, documented
13
- behavior) — no `bus.thread_context()` involved. Stateless and safe to reuse
14
- concurrently (e.g. inside `asyncio.gather`): each call gets its own fresh
15
- context snapshot from `asyncio.to_thread` itself.
11
+ Each call runs on one of the bus's async threads — its own (`async_threads=`), or the
12
+ process's (`SINCPRO_FRAMEWORK_ASYNC_THREADS`) — in a copy of the caller's context. Stateless and safe to reuse concurrently (`asyncio.TaskGroup`,
13
+ `asyncio.gather`). A caller that stops waiting drops a call still waiting its turn; one
14
+ already running runs to its end, its `self.context.cancelled` set.
16
15
  """
17
16
 
18
17
  def __init__(self, run: Callable[..., Any]) -> None: ...
@@ -14,3 +14,4 @@ otel_metrics_exporter: $ENV:OTEL_METRICS_EXPORTER
14
14
  otel_traces_exporter: $ENV:OTEL_TRACES_EXPORTER
15
15
  otel_sdk_disabled: $ENV:OTEL_SDK_DISABLED
16
16
  context_map_override: $ENV:SINCPRO_CONTEXT_MAP
17
+ async_threads: $ENV:SINCPRO_FRAMEWORK_ASYNC_THREADS
@@ -35,6 +35,7 @@ from sincpro_framework.context.domain.level import ContextLevel, EntrypointKind,
35
35
  from sincpro_framework.context.domain.node import REMOVED, ContextNode
36
36
  from sincpro_framework.context.domain.owner import Owner
37
37
  from sincpro_framework.context.domain.store import ContextStore
38
+ from sincpro_framework.context.entrypoint.threads import call_cancelled
38
39
  from sincpro_framework.context.infrastructure.shared import SharedValues
39
40
  from sincpro_framework.context.infrastructure.travel import travelling
40
41
  from sincpro_framework.context.infrastructure.tree import ROOT, current, entered
@@ -115,6 +116,22 @@ class Context(dict[Any, Any]):
115
116
  """The execution this node is, or stands in."""
116
117
  return next((node.execution for node in self._node.chain() if node.execution), None)
117
118
 
119
+ @property
120
+ def cancelled(self) -> bool:
121
+ """Whether whoever awaits this call stopped waiting — an agent cancelled the tool call, a
122
+ queue's time limit passed. Nothing is stopped for it: a use case that works in steps reads
123
+ it between two of them and stops itself, or finishes what it started.
124
+
125
+ for page in pages:
126
+ if self.context.cancelled:
127
+ break
128
+ ...
129
+
130
+ Always `False` for a call run where no event loop awaits it (`bus(dto)` from sync code).
131
+ """
132
+ flag = call_cancelled.get()
133
+ return flag is not None and flag.is_set()
134
+
118
135
  def _identity_written(self, key: Any, value: Any) -> None:
119
136
  """`correlation_id` names the flow from here on: the execution in play takes it. The other
120
137
  two are minted by the framework — written here they only name what a root is handed.
@@ -3,6 +3,7 @@
3
3
  ContextThread(target=work).start() a thread that starts where its creator stood
4
4
  ContextExecutor(max_workers=8) a pool that hands each task the submitter's context
5
5
  executor.submit(in_context(work), …) one function, for a pool the project owns
6
+ call_cancelled the flag a call handed off by an async door carries
6
7
 
7
8
  **Why the framework does it, and not the interpreter.** An asyncio task starts from a copy of its
8
9
  creator's context (PEP 567). A `threading.Thread` starts from none on the default build, and from a
@@ -19,9 +20,20 @@ copy-on-write: what a task sees is never half written, and what it sets stays in
19
20
  import threading
20
21
  from collections.abc import Callable
21
22
  from concurrent.futures import Future, ThreadPoolExecutor
22
- from contextvars import Context, copy_context
23
+ from contextvars import Context, ContextVar, copy_context
23
24
  from typing import Any
24
25
 
26
+ call_cancelled: ContextVar[threading.Event | None] = ContextVar(
27
+ "sincpro_call_cancelled", default=None
28
+ )
29
+ """Whether whoever awaits the call in play stopped waiting — what `Context.cancelled` reads.
30
+
31
+ An async door that hands a call to a worker (`sincpro_framework.aio.async_threads`) sets it in that
32
+ call's own copy of the context, so every thread the call hands work to here reads the same flag.
33
+ A thread cannot be stopped from outside: a call whose caller went away — an agent that cancelled a
34
+ tool call, a queue's time limit that passed — runs on, and the flag is how it can know. `None` for
35
+ a call no event loop awaits: it can never be cancelled."""
36
+
25
37
 
26
38
  def in_context[R](function: Callable[..., R]) -> Callable[..., R]:
27
39
  """`function`, run in a copy of the context it was wrapped in — whichever thread calls it.
@@ -7,6 +7,7 @@ description_of(Sale, StoreFacts(identity="id", …)) as a store that knows m
7
7
  contract_of(Sale) what a client is published
8
8
  """
9
9
 
10
+ import copy
10
11
  from typing import Any
11
12
 
12
13
  from sincpro_framework.ddd.entity.entity import Entity
@@ -54,6 +55,10 @@ def description_of(declared: type, facts: StoreFacts | None = None) -> Meta:
54
55
  )
55
56
 
56
57
 
58
+ _contracts: dict[type, tuple[int, dict[str, Any]]] = {}
59
+ """Each contract `contract_of` rendered, with the models' revision it was rendered at."""
60
+
61
+
57
62
  def contract_of(declared: type) -> dict[str, Any]:
58
63
  """The published contract of `declared`: its JSON Schema 2020-12 with one `x-sincpro` per
59
64
  schema and per property, and the entities its relations point at under `$defs`.
@@ -70,8 +75,16 @@ def contract_of(declared: type) -> dict[str, Any]:
70
75
  another entity a relation no filter crosses —, and rendered with the fingerprint of its
71
76
  model as its version; each shape a record holds inside written once, by its class's name
72
77
  (`shapes`), the entities' names taken from the start.
73
- Final: the schema of `declared`; the entities and the shapes beside it under `$defs`.
78
+ 3. Held with the models' revision: rendered again only once a model was let go or a store
79
+ said something new (`models.revision`) — a gateway asks for the same contract from every
80
+ route, catalog and document it builds.
81
+ Final: a copy of the schema of `declared` — the caller may write on it —; the entities and
82
+ the shapes beside it under `$defs`.
74
83
  """
84
+ revision = models.revision
85
+ held = _contracts.get(declared)
86
+ if held is not None and held[0] == revision:
87
+ return copy.deepcopy(held[1])
75
88
  reached: list[type] = [declared]
76
89
  for one in reached:
77
90
  for annotation in models.of(one).annotations.values():
@@ -99,4 +112,5 @@ def contract_of(declared: type) -> dict[str, Any]:
99
112
  beside.pop(declared.__name__)
100
113
  if beside:
101
114
  contract["$defs"] = beside
102
- return contract
115
+ _contracts[declared] = (revision, contract)
116
+ return copy.deepcopy(contract)
@@ -30,6 +30,16 @@ class Models:
30
30
  self._facts: dict[type, StoreFacts] = {}
31
31
  self._versions: dict[type, str] = {}
32
32
  self._lock = threading.Lock()
33
+ self._revision = 0
34
+ """Grows each time a model is let go or a store says something new of a class — what a
35
+ reader that keeps something rendered from the models (`contract_of`) checks."""
36
+
37
+ @property
38
+ def revision(self) -> int:
39
+ """How many times what the models say has changed: a model let go, a store's new facts.
40
+ Equal to what it was when something was rendered from them, that rendering still holds.
41
+ """
42
+ return self._revision
33
43
 
34
44
  def of(self, declared: type) -> Model:
35
45
  """The model of `declared`, compiled the first time it is asked for.
@@ -67,11 +77,19 @@ class Models:
67
77
  self._held.clear()
68
78
  for one in declared:
69
79
  self._held.pop(one, None)
80
+ self._revision += 1
70
81
 
71
82
  def learn(self, declared: type, facts: StoreFacts) -> None:
72
83
  """Hold what a store said of `declared` — the last one said wins —, with nothing that
73
- reaches back into the store: what the published contract is rendered with."""
74
- self._facts[declared] = dataclasses.replace(facts, related=None)
84
+ reaches back into the store: what the published contract is rendered with. Facts equal to
85
+ the held ones change nothing: a store that describes a class on every read leaves what was
86
+ rendered from them standing."""
87
+ learned = dataclasses.replace(facts, related=None)
88
+ if self._facts.get(declared) == learned:
89
+ return
90
+ with self._lock:
91
+ self._facts[declared] = learned
92
+ self._revision += 1
75
93
 
76
94
  def facts_of(self, declared: type) -> StoreFacts | None:
77
95
  """What the last store that described `declared` said of it; `None` when none did."""
@@ -8,22 +8,20 @@ of the project's runs through `Depends(bus_call(bus))` — so neither skips a co
8
8
  Context — the contextvar trap. Identity is a `ContextVar`, and FastAPI runs each synchronous
9
9
  dependency in a worker thread with a *copy* of the context: an identity set there is gone in the
10
10
  next thread. So the credentials are only read here, in an async dependency with no I/O, and
11
- authentication and `bus(dto)` run together in one worker thread (`anyio.to_thread`). The bus is
12
- called, never `execute`: the access guard, idempotency, caching, the Feature's span and Sentry
13
- apply by construction. A FastAPI dependency is never authorization — `AccessControl` inside the
14
- bus stays the only guard.
11
+ authentication and `bus(dto)` run together on one of the bus's async threads (`on_async_thread`).
12
+ The bus is called, never `execute`: the access guard, idempotency, caching, the Feature's span and
13
+ Sentry apply by construction. A FastAPI dependency is never authorization — `AccessControl` inside
14
+ the bus stays the only guard.
15
15
  """
16
16
 
17
17
  from collections.abc import Awaitable, Callable, Mapping
18
18
  from contextlib import ExitStack
19
- from functools import partial
20
19
  from typing import Any
21
20
 
22
- import anyio.to_thread
23
- from anyio import CapacityLimiter
24
21
  from fastapi import Depends, Request
25
22
  from pydantic import ConfigDict, Field
26
23
 
24
+ from sincpro_framework.aio.async_threads import on_async_thread
27
25
  from sincpro_framework.auth import Credentials, security
28
26
  from sincpro_framework.context import EntrypointKind, context_executions, context_propagation
29
27
  from sincpro_framework.data_layer.caching import (
@@ -194,11 +192,10 @@ def run_on_bus(
194
192
  raise
195
193
 
196
194
 
197
- def bus_call(
198
- bus: UseFramework, limiter: CapacityLimiter | None = None
199
- ) -> Callable[..., Awaitable[BusCall]]:
195
+ def bus_call(bus: UseFramework) -> Callable[..., Awaitable[BusCall]]:
200
196
  """A FastAPI dependency answering `call`: `await call(dto)` runs `dto` on `bus` the way
201
- every generated route does. `limiter` bounds the worker threads (anyio's default, 40).
197
+ every generated route does — on the bus's async threads: its own (`async_threads=`), or the
198
+ process's (`SINCPRO_FRAMEWORK_ASYNC_THREADS`).
202
199
 
203
200
  Context: a hand-written route that called `bus(dto)` itself would run in the event loop,
204
201
  lose the identity to a thread copy and skip the problem's trace id; through `call` it is
@@ -213,7 +210,7 @@ def bus_call(
213
210
  2.1 the bus noted on the request state, so a 401 names its challenges;
214
211
  2.2 a use case that runs once, with no `Idempotency-Key` and a Command that does not
215
212
  identify itself — `IdempotencyKeyMissing`, before the bus;
216
- 2.3 `run_on_bus` in a worker thread, bounded by `limiter`;
213
+ 2.3 `run_on_bus` on the bus's async threads;
217
214
  2.4 on failure, the trace it belongs to stored on the request state.
218
215
  Final: `provide` — FastAPI calls it, the route gets `call`.
219
216
  """
@@ -232,7 +229,7 @@ def bus_call(
232
229
  1. The bus is noted on the request state — a 401 names its challenges.
233
230
  2. A use case that runs once, with no `Idempotency-Key` and a Command that does
234
231
  not identify itself, is refused before the bus (400).
235
- 3. `run_on_bus` in a worker thread, bounded by `limiter`.
232
+ 3. `run_on_bus` on the bus's async threads.
236
233
  4. Final: on failure, the trace it belongs to is stored on the request state, so the
237
234
  problem answered names it.
238
235
  """
@@ -244,9 +241,8 @@ def bus_call(
244
241
  )
245
242
  seen: dict[str, str | None] = {}
246
243
  try:
247
- return await anyio.to_thread.run_sync(
248
- partial(run_on_bus, bus, dto, credentials, context, seen),
249
- limiter=limiter,
244
+ return await on_async_thread(
245
+ bus, run_on_bus, bus, dto, credentials, context, seen
250
246
  )
251
247
  finally:
252
248
  if seen.get("trace_id"):