neuroglia-python 0.7.0__tar.gz → 0.7.1__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.
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/PKG-INFO +1 -1
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/pyproject.toml +1 -1
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/event_sourcing/event_store/event_store.py +6 -2
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/LICENSE +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/README.md +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/application/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/application/background_scheduler.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/coordination/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/coordination/abstractions.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/coordination/leader_election.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/coordination/redis_backend.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/core/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/core/module_loader.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/core/operation_result.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/core/problem_details.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/core/type_extensions.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/core/type_finder.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/core/type_registry.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/abstractions.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/exceptions.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/abstractions.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/event_sourcing/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/event_sourcing/abstractions.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/event_sourcing/event_sourcing_repository.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/event_sourcing/event_store/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/event_sourcing/read_model_reconciliator.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/filesystem/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/filesystem/filesystem_repository.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/memory/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/memory/memory_repository.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/mongo/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/mongo/enhanced_mongo_repository.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/mongo/mongo_repository.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/mongo/motor_repository.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/mongo/serialization_helper.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/mongo/typed_mongo_query.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/resources/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/resources/in_memory_storage_backend.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/resources/postgres_resource_store.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/resources/redis_resource_store.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/resources/resource_repository.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/tracing_mixin.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/queries/generic/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/queries/generic/get_by_id_query.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/queries/generic/list_query.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/queryable.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/resources/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/resources/abstractions.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/resources/controller.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/resources/serializers/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/resources/serializers/xml_serializer.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/resources/serializers/yaml_serializer.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/resources/state_machine.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/resources/watcher.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/unit_of_work.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/dependency_injection/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/dependency_injection/service_provider.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/dependency_injection/service_provider_backup.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/eventing/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/eventing/cloud_events/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/eventing/cloud_events/cloud_event.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/eventing/cloud_events/decorators.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/eventing/cloud_events/infrastructure/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/eventing/cloud_events/infrastructure/cloud_event_bus.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/eventing/cloud_events/infrastructure/cloud_event_ingestor.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/eventing/cloud_events/infrastructure/cloud_event_middleware.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/eventing/cloud_events/infrastructure/cloud_event_publisher.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/eventing/tracing.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/expressions/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/expressions/javascript_expression_translator.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/extensions/cqrs_metrics_extensions.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/extensions/mediator_extensions.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/extensions/state_persistence_extensions.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/hosting/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/hosting/abstractions.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/hosting/configuration/data_access_layer.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/hosting/web.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/integration/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/integration/cache_repository.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/integration/http_service_client.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/integration/models.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/logging/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/logging/logger.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/mapping/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/mapping/mapper.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/mediation/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/mediation/behaviors/domain_event_cloudevent_behavior.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/mediation/behaviors/domain_event_dispatching_middleware.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/mediation/mediator.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/mediation/metrics_middleware.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/mediation/pipeline_behavior.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/mediation/simple.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/mediation/tracing_middleware.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/mvc/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/mvc/controller_base.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/observability/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/observability/framework.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/observability/logging.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/observability/metrics.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/observability/otel_sdk.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/observability/settings.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/observability/tracing.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/py.typed +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/reactive/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/reactive/rx_async.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/serialization/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/serialization/abstractions.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/serialization/aggregate_serializer.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/serialization/json.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/utils/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/utils/camel_model.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/utils/case_conversion.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/validation/__init__.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/validation/business_rules.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/validation/exceptions.py +0 -0
- {neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/validation/validators.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "neuroglia-python"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.1"
|
|
4
4
|
description = "Port from .NET to Python of the Neuroglia Framework"
|
|
5
5
|
authors = ["Charles d'Avernas <charles.davernas@neuroglia.io>", "Bruno van de Werve <bvandewe@gmail.com>"]
|
|
6
6
|
license = "Apache"
|
|
@@ -64,11 +64,15 @@ class ESEventStore(EventStore):
|
|
|
64
64
|
self._eventstore_client = connection_string_or_client
|
|
65
65
|
|
|
66
66
|
async def _ensure_client(self) -> Any:
|
|
67
|
-
"""Lazily initialize the async
|
|
67
|
+
"""Lazily initialize the async KurrentDB client on first use"""
|
|
68
68
|
if self._eventstore_client is None:
|
|
69
69
|
if self._connection_string is None:
|
|
70
70
|
raise RuntimeError("Neither connection string nor client provided")
|
|
71
|
-
|
|
71
|
+
# AsyncKurrentDBClient constructor is NOT awaitable - returns client directly
|
|
72
|
+
client = AsyncClientFactory(uri=self._connection_string)
|
|
73
|
+
# Must call connect() to establish the connection
|
|
74
|
+
await client.connect()
|
|
75
|
+
self._eventstore_client = client
|
|
72
76
|
return self._eventstore_client
|
|
73
77
|
|
|
74
78
|
async def contains_async(self, stream_id: str) -> bool:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/application/background_scheduler.py
RENAMED
|
File without changes
|
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/coordination/abstractions.py
RENAMED
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/coordination/leader_election.py
RENAMED
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/coordination/redis_backend.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/__init__.py
RENAMED
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/abstractions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/infrastructure/tracing_mixin.py
RENAMED
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/queries/generic/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/queries/generic/list_query.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/resources/abstractions.py
RENAMED
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/resources/controller.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/data/resources/state_machine.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/dependency_injection/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/eventing/cloud_events/__init__.py
RENAMED
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/eventing/cloud_events/cloud_event.py
RENAMED
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/eventing/cloud_events/decorators.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/extensions/mediator_extensions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/integration/cache_repository.py
RENAMED
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/integration/http_service_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/mediation/metrics_middleware.py
RENAMED
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/mediation/pipeline_behavior.py
RENAMED
|
File without changes
|
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/mediation/tracing_middleware.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/serialization/abstractions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{neuroglia_python-0.7.0 → neuroglia_python-0.7.1}/src/neuroglia/validation/business_rules.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|