aiteamutils 0.2.57__py3-none-any.whl → 0.2.58__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- aiteamutils/__init__.py +5 -0
- aiteamutils/dependencies.py +7 -0
- aiteamutils/version.py +1 -1
- {aiteamutils-0.2.57.dist-info → aiteamutils-0.2.58.dist-info}/METADATA +1 -1
- {aiteamutils-0.2.57.dist-info → aiteamutils-0.2.58.dist-info}/RECORD +6 -6
- {aiteamutils-0.2.57.dist-info → aiteamutils-0.2.58.dist-info}/WHEEL +0 -0
aiteamutils/__init__.py
CHANGED
@@ -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",
|
aiteamutils/dependencies.py
CHANGED
@@ -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
|
|
aiteamutils/version.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
"""버전 정보"""
|
2
|
-
__version__ = "0.2.
|
2
|
+
__version__ = "0.2.58"
|
@@ -1,16 +1,16 @@
|
|
1
|
-
aiteamutils/__init__.py,sha256=
|
1
|
+
aiteamutils/__init__.py,sha256=U9UEyU0AqpLZzbPJiBvwDEh-s2405y1IeWZ0zCqFSl0,1307
|
2
2
|
aiteamutils/base_model.py,sha256=ODEnjvUVoxQ1RPCfq8-uZTfTADIA4c7Z3E6G4EVsSX0,2708
|
3
3
|
aiteamutils/base_repository.py,sha256=vqsundoN0h7FVvgqTBEnnJNMcFpvMK0s_nxBWdIYg-U,7846
|
4
4
|
aiteamutils/base_service.py,sha256=s2AcA-6_ogOQKgt2xf_3AG2s6tqBceU4nJoXO1II7S8,24588
|
5
5
|
aiteamutils/cache.py,sha256=07xBGlgAwOTAdY5mnMOQJ5EBxVwe8glVD7DkGEkxCtw,1373
|
6
6
|
aiteamutils/config.py,sha256=YdalpJb70-txhGJAS4aaKglEZAFVWgfzw5BXSWpkUz4,3232
|
7
7
|
aiteamutils/database.py,sha256=x0x5gnSyGfwo_klL9O65RnGOQID6c9tH2miwFveVyoE,6326
|
8
|
-
aiteamutils/dependencies.py,sha256=
|
8
|
+
aiteamutils/dependencies.py,sha256=UjHGgee4qKxPwHJnfMZ3YKB7m7UQNIvKNr7IdOx590c,6899
|
9
9
|
aiteamutils/enums.py,sha256=ipZi6k_QD5-3QV7Yzv7bnL0MjDz-vqfO9I5L77biMKs,632
|
10
10
|
aiteamutils/exceptions.py,sha256=_lKWXq_ujNj41xN6LDE149PwsecAP7lgYWbOBbLOntg,15368
|
11
11
|
aiteamutils/security.py,sha256=xFVrjttxwXB1TTjqgRQQgQJQohQBT28vuW8FVLjvi-M,10103
|
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=57HkAV8pVrmV03eTVINw5qTQURkXwGPl2H--uJC4OWs,42
|
14
|
+
aiteamutils-0.2.58.dist-info/METADATA,sha256=yULGE3mtpwvWXzHDczGJfqu52urFzknJhm5V9PgCOGc,1718
|
15
|
+
aiteamutils-0.2.58.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
16
|
+
aiteamutils-0.2.58.dist-info/RECORD,,
|
File without changes
|