aiteamutils 0.2.30__tar.gz → 0.2.31__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/PKG-INFO +1 -1
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/aiteamutils/dependencies.py +2 -3
- aiteamutils-0.2.31/aiteamutils/version.py +2 -0
- aiteamutils-0.2.30/aiteamutils/version.py +0 -2
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/.gitignore +0 -0
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/README.md +0 -0
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/aiteamutils/__init__.py +0 -0
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/aiteamutils/base_model.py +0 -0
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/aiteamutils/base_repository.py +0 -0
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/aiteamutils/base_service.py +0 -0
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/aiteamutils/cache.py +0 -0
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/aiteamutils/config.py +0 -0
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/aiteamutils/database.py +0 -0
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/aiteamutils/enums.py +0 -0
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/aiteamutils/exceptions.py +0 -0
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/aiteamutils/security.py +0 -0
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/aiteamutils/validators.py +0 -0
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/pyproject.toml +0 -0
- {aiteamutils-0.2.30 → aiteamutils-0.2.31}/setup.py +0 -0
@@ -61,10 +61,9 @@ def get_service(name: str):
|
|
61
61
|
Callable: 서비스 인스턴스를 반환하는 의존성 함수
|
62
62
|
"""
|
63
63
|
def _get_service(db: AsyncSession = Depends(get_db)):
|
64
|
-
db_service = DatabaseService(session=db)
|
65
64
|
repository_class, service_class = service_registry.get(name)
|
66
|
-
repository = repository_class(
|
67
|
-
return service_class(repository,
|
65
|
+
repository = repository_class(db)
|
66
|
+
return service_class(repository, db)
|
68
67
|
return _get_service
|
69
68
|
|
70
69
|
oauth2_scheme = OAuth2PasswordBearer(tokenUrl="/users/token")
|
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
|