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