aiteamutils 0.2.9__py3-none-any.whl → 0.2.11__py3-none-any.whl

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.
aiteamutils/database.py CHANGED
@@ -1,7 +1,7 @@
1
1
  from typing import Any, Dict, Optional, Type, AsyncGenerator, TypeVar, List, Union
2
2
  from sqlalchemy import select, update, and_, Table
3
3
  from sqlalchemy.ext.asyncio import AsyncSession, create_async_engine, AsyncEngine
4
- from sqlalchemy.orm import sessionmaker
4
+ from sqlalchemy.orm import sessionmaker, Load, joinedload
5
5
  from sqlalchemy.exc import IntegrityError, SQLAlchemyError
6
6
  from sqlalchemy.pool import QueuePool
7
7
  from contextlib import asynccontextmanager
@@ -149,7 +149,7 @@ def get_service(name: str):
149
149
  Returns:
150
150
  Callable: 서비스 인스턴스를 반환하는 의존성 함수
151
151
  """
152
- def _get_service(db_service: DatabaseService = Depends(get_database_service)):
152
+ async def _get_service(db_service: DatabaseService = Depends(get_database_service)):
153
153
  repository_class, service_class = service_registry.get(name)
154
154
  repository = repository_class(db_service)
155
155
  return service_class(repository, db_service)
aiteamutils/version.py CHANGED
@@ -1,2 +1,2 @@
1
1
  """버전 정보"""
2
- __version__ = "0.2.9"
2
+ __version__ = "0.2.11"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiteamutils
3
- Version: 0.2.9
3
+ Version: 0.2.11
4
4
  Summary: AI Team Utilities
5
5
  Project-URL: Homepage, https://github.com/yourusername/aiteamutils
6
6
  Project-URL: Issues, https://github.com/yourusername/aiteamutils/issues
@@ -4,13 +4,13 @@ aiteamutils/base_repository.py,sha256=qdwQ7Sj2fUqxpDg6cWM48n_QbwPK_VUlG9zTSem8iC
4
4
  aiteamutils/base_service.py,sha256=E4dHGE0DvhmRyFplh46SwKJOSF_nUL7OAsCkf_ZJF_8,24733
5
5
  aiteamutils/cache.py,sha256=tr0Yn8VPYA9QHiKCUzciVlQ2J1RAwNo2K9lGMH4rY3s,1334
6
6
  aiteamutils/config.py,sha256=vC6k6E2-Y4mD0E0kw6WVgSatCl9K_BtTwrVFhLrhCzs,665
7
- aiteamutils/database.py,sha256=PRzdG6SiBzxCjsDjGRcfCbUHziSy1ycm9tDYsqkg1Og,30972
8
- aiteamutils/dependencies.py,sha256=M_sgSo1xmfJMMwtDdiTVxxiH2udvBjNODfxN5Uwxotw,6836
7
+ aiteamutils/database.py,sha256=AN-84p9ytiBcuC-plliCGl9EyzZKTnEms9t80jOxN7U,30990
8
+ aiteamutils/dependencies.py,sha256=q8xx-a4995nDf7vi3jb_kJKY7d3ILOlQWgHhuMVWaHc,6842
9
9
  aiteamutils/enums.py,sha256=ipZi6k_QD5-3QV7Yzv7bnL0MjDz-vqfO9I5L77biMKs,632
10
10
  aiteamutils/exceptions.py,sha256=YV-ISya4wQlHk4twvGo16I5r8h22-tXpn9wa-b3WwDM,15231
11
11
  aiteamutils/security.py,sha256=AZszaTxVEGi1jU1sX3QXHGgshp1lVvd0xXvZejXvs_w,12643
12
12
  aiteamutils/validators.py,sha256=3N245cZFjgwtW_KzjESkizx5BBUDaJLbbxfNO4WOFZ0,7764
13
- aiteamutils/version.py,sha256=-wgeOcidZCJ0zY2W2v_U4jlTLvmpNajEoP8_LpJPn9g,43
14
- aiteamutils-0.2.9.dist-info/METADATA,sha256=OsmuCIXUPq700xe2US-ak5LYb9fd6fz7V36ipfMOAtg,1717
15
- aiteamutils-0.2.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- aiteamutils-0.2.9.dist-info/RECORD,,
13
+ aiteamutils/version.py,sha256=uHSO-U5Rls0Tc9oMSuqTYyqYBQlaP22a_ZnWotZ1sIQ,44
14
+ aiteamutils-0.2.11.dist-info/METADATA,sha256=kteX0pyE7aNcwNU-67xM44RyCdXWKUE9Xc_CdcMeP6g,1718
15
+ aiteamutils-0.2.11.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ aiteamutils-0.2.11.dist-info/RECORD,,