aiteamutils 0.2.9__tar.gz → 0.2.11__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/PKG-INFO +1 -1
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/aiteamutils/database.py +1 -1
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/aiteamutils/dependencies.py +1 -1
- aiteamutils-0.2.11/aiteamutils/version.py +2 -0
- aiteamutils-0.2.11/app/auth/routes.py +3 -0
- aiteamutils-0.2.11/app/startup.py +4 -0
- aiteamutils-0.2.9/aiteamutils/version.py +0 -2
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/.gitignore +0 -0
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/README.md +0 -0
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/aiteamutils/__init__.py +0 -0
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/aiteamutils/base_model.py +0 -0
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/aiteamutils/base_repository.py +0 -0
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/aiteamutils/base_service.py +0 -0
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/aiteamutils/cache.py +0 -0
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/aiteamutils/config.py +0 -0
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/aiteamutils/enums.py +0 -0
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/aiteamutils/exceptions.py +0 -0
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/aiteamutils/security.py +0 -0
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/aiteamutils/validators.py +0 -0
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/pyproject.toml +0 -0
- {aiteamutils-0.2.9 → aiteamutils-0.2.11}/setup.py +0 -0
@@ -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)
|
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
|