aiteamutils 0.2.57__tar.gz → 0.2.58__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/PKG-INFO +1 -1
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/aiteamutils/__init__.py +5 -0
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/aiteamutils/dependencies.py +7 -0
- aiteamutils-0.2.58/aiteamutils/version.py +2 -0
- aiteamutils-0.2.57/aiteamutils/version.py +0 -2
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/.cursorrules +0 -0
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/.gitignore +0 -0
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/README.md +0 -0
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/aiteamutils/base_model.py +0 -0
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/aiteamutils/base_repository.py +0 -0
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/aiteamutils/base_service.py +0 -0
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/aiteamutils/cache.py +0 -0
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/aiteamutils/config.py +0 -0
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/aiteamutils/database.py +0 -0
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/aiteamutils/enums.py +0 -0
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/aiteamutils/exceptions.py +0 -0
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/aiteamutils/security.py +0 -0
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/aiteamutils/validators.py +0 -0
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/pyproject.toml +0 -0
- {aiteamutils-0.2.57 → aiteamutils-0.2.58}/setup.py +0 -0
@@ -21,6 +21,7 @@ from .base_repository import BaseRepository
|
|
21
21
|
from .validators import validate_with
|
22
22
|
from .enums import ActivityType
|
23
23
|
from .version import __version__
|
24
|
+
from .dependencies import setup_dependencies, register_service
|
24
25
|
|
25
26
|
__all__ = [
|
26
27
|
# Base Models
|
@@ -31,6 +32,10 @@ __all__ = [
|
|
31
32
|
# Database
|
32
33
|
"DatabaseService",
|
33
34
|
|
35
|
+
# Dependencies
|
36
|
+
"setup_dependencies",
|
37
|
+
"register_service",
|
38
|
+
|
34
39
|
# Exceptions
|
35
40
|
"CustomException",
|
36
41
|
"ErrorCode",
|
@@ -17,6 +17,13 @@ R = TypeVar("R", bound=BaseRepository)
|
|
17
17
|
_service_registry: Dict[str, Dict[str, Any]] = {}
|
18
18
|
_session_provider = None
|
19
19
|
|
20
|
+
__all__ = [
|
21
|
+
"setup_dependencies",
|
22
|
+
"register_service",
|
23
|
+
"get_service",
|
24
|
+
"get_current_user"
|
25
|
+
]
|
26
|
+
|
20
27
|
def setup_dependencies(session_provider: Callable[[], AsyncGenerator[AsyncSession, None]]) -> None:
|
21
28
|
"""의존성 설정을 초기화합니다.
|
22
29
|
|
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
|