hexcore 2.0.4__tar.gz → 2.0.5__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.
- {hexcore-2.0.4/hexcore.egg-info → hexcore-2.0.5}/PKG-INFO +1 -1
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/application/use_cases/base.py +0 -1
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/repositories/orms/sqlalchemy/utils.py +1 -1
- {hexcore-2.0.4 → hexcore-2.0.5/hexcore.egg-info}/PKG-INFO +1 -1
- {hexcore-2.0.4 → hexcore-2.0.5}/pyproject.toml +1 -1
- {hexcore-2.0.4 → hexcore-2.0.5}/LICENSE +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/MANIFEST.in +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/README.md +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/__main__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/application/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/application/dtos/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/application/dtos/base.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/application/dtos/query.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/application/use_cases/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/application/use_cases/query.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/config.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/domain/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/domain/auth/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/domain/auth/permissions.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/domain/auth/value_objects.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/domain/base.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/domain/events.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/domain/exceptions.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/domain/repositories.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/domain/services.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/domain/uow.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/api/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/api/utils.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/cache/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/cache/cache_backends/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/cache/cache_backends/memory.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/cache/cache_backends/redis.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/cli.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/events/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/events/events_backends/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/events/events_backends/memory.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/repositories/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/repositories/base.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/repositories/decorators.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/repositories/implementations.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/repositories/orms/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/repositories/orms/beanie/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/repositories/orms/beanie/utils.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/repositories/orms/sqlalchemy/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/repositories/orms/sqlalchemy/session.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/repositories/utils.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/uow/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/uow/decorators.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/uow/helpers.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/py.typed +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore/types.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore.egg-info/SOURCES.txt +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore.egg-info/dependency_links.txt +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore.egg-info/entry_points.txt +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore.egg-info/requires.txt +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/hexcore.egg-info/top_level.txt +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/scripts/__init__.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/scripts/main.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/setup.cfg +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/tests/conftest.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/tests/test_basic.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/tests/test_beanie_query_utils.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/tests/test_config_loading.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/tests/test_domain_service_query.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/tests/test_infrastructure_query_path.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/tests/test_query_field_validation.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/tests/test_repositories_utils.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/tests/test_uow_session_regression.py +0 -0
- {hexcore-2.0.4 → hexcore-2.0.5}/tests/test_use_cases_query.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hexcore
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.5
|
|
4
4
|
Summary: Núcleo reutilizable para proyectos Python con arquitectura hexagonal y event handling. Provee abstracciones, utilidades y contratos para DDD, eventos y desacoplamiento de infraestructura.
|
|
5
5
|
Author-email: "David Latosefki (Indroic)" <indroic@outlook.com>
|
|
6
6
|
License-Expression: MIT
|
{hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/repositories/orms/sqlalchemy/utils.py
RENAMED
|
@@ -40,7 +40,7 @@ def to_model(
|
|
|
40
40
|
for field, (dest_field, serializer) in field_serializers.items():
|
|
41
41
|
if hasattr(entity, field):
|
|
42
42
|
entity_data[dest_field] = serializer(entity)
|
|
43
|
-
if field in entity_data:
|
|
43
|
+
if field != dest_field and field in entity_data:
|
|
44
44
|
del entity_data[field]
|
|
45
45
|
model = model_cls(**entity_data)
|
|
46
46
|
if set_domain and hasattr(model, "set_domain_entity"):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hexcore
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.5
|
|
4
4
|
Summary: Núcleo reutilizable para proyectos Python con arquitectura hexagonal y event handling. Provee abstracciones, utilidades y contratos para DDD, eventos y desacoplamiento de infraestructura.
|
|
5
5
|
Author-email: "David Latosefki (Indroic)" <indroic@outlook.com>
|
|
6
6
|
License-Expression: MIT
|
|
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
|
|
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
|
{hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/repositories/orms/sqlalchemy/__init__.py
RENAMED
|
File without changes
|
{hexcore-2.0.4 → hexcore-2.0.5}/hexcore/infrastructure/repositories/orms/sqlalchemy/session.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|