aiteamutils 0.2.9__py3-none-any.whl → 0.2.11__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- aiteamutils/database.py +1 -1
- aiteamutils/dependencies.py +1 -1
- aiteamutils/version.py +1 -1
- {aiteamutils-0.2.9.dist-info → aiteamutils-0.2.11.dist-info}/METADATA +1 -1
- {aiteamutils-0.2.9.dist-info → aiteamutils-0.2.11.dist-info}/RECORD +6 -6
- {aiteamutils-0.2.9.dist-info → aiteamutils-0.2.11.dist-info}/WHEEL +0 -0
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
|
aiteamutils/dependencies.py
CHANGED
@@ -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.
|
2
|
+
__version__ = "0.2.11"
|
@@ -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=
|
8
|
-
aiteamutils/dependencies.py,sha256=
|
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
|
14
|
-
aiteamutils-0.2.
|
15
|
-
aiteamutils-0.2.
|
16
|
-
aiteamutils-0.2.
|
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,,
|
File without changes
|