aiteamutils 0.2.14__py3-none-any.whl → 0.2.15__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aiteamutils/database.py +1 -1
- aiteamutils/dependencies.py +2 -2
- aiteamutils/version.py +1 -1
- {aiteamutils-0.2.14.dist-info → aiteamutils-0.2.15.dist-info}/METADATA +1 -1
- {aiteamutils-0.2.14.dist-info → aiteamutils-0.2.15.dist-info}/RECORD +6 -6
- {aiteamutils-0.2.14.dist-info → aiteamutils-0.2.15.dist-info}/WHEEL +0 -0
aiteamutils/database.py
CHANGED
@@ -17,7 +17,7 @@ from .enums import ActivityType
|
|
17
17
|
T = TypeVar("T", bound=BaseColumn)
|
18
18
|
|
19
19
|
# 전역 데이터베이스 서비스 인스턴스
|
20
|
-
_database_service: 'DatabaseService'
|
20
|
+
_database_service: Union['DatabaseService', None] = None
|
21
21
|
|
22
22
|
def get_database_service() -> 'DatabaseService':
|
23
23
|
"""DatabaseService 인스턴스를 반환하는 함수
|
aiteamutils/dependencies.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
from typing import Type, Dict, Tuple, Any, Callable
|
1
|
+
from typing import Type, Dict, Tuple, Any, Callable, Union
|
2
2
|
from fastapi import Depends, status
|
3
3
|
from fastapi.security import OAuth2PasswordBearer
|
4
4
|
from jose import JWTError, jwt
|
@@ -12,7 +12,7 @@ class Settings:
|
|
12
12
|
self.JWT_SECRET = jwt_secret
|
13
13
|
self.JWT_ALGORITHM = jwt_algorithm
|
14
14
|
|
15
|
-
_settings: Settings
|
15
|
+
_settings: Union[Settings, None] = None
|
16
16
|
|
17
17
|
def init_settings(
|
18
18
|
jwt_secret: str,
|
aiteamutils/version.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
"""버전 정보"""
|
2
|
-
__version__ = "0.2.
|
2
|
+
__version__ = "0.2.15"
|
@@ -4,13 +4,13 @@ aiteamutils/base_repository.py,sha256=qdwQ7Sj2fUqxpDg6cWM48n_QbwPK_VUlG9zTSem8iC
|
|
4
4
|
aiteamutils/base_service.py,sha256=E4dHGE0DvhmRyFplh46SwKJOSF_nUL7OAsCkf_ZJF_8,24733
|
5
5
|
aiteamutils/cache.py,sha256=tr0Yn8VPYA9QHiKCUzciVlQ2J1RAwNo2K9lGMH4rY3s,1334
|
6
6
|
aiteamutils/config.py,sha256=vC6k6E2-Y4mD0E0kw6WVgSatCl9K_BtTwrVFhLrhCzs,665
|
7
|
-
aiteamutils/database.py,sha256=
|
8
|
-
aiteamutils/dependencies.py,sha256=
|
7
|
+
aiteamutils/database.py,sha256=qD7Qr_WPMfo989MMSJZrT1myBH8FsI3295h_lVC8sG8,32153
|
8
|
+
aiteamutils/dependencies.py,sha256=tniDXjF3HxTZFYYH5StIIp7i09caHKq7MS-QbSzfYTg,5717
|
9
9
|
aiteamutils/enums.py,sha256=ipZi6k_QD5-3QV7Yzv7bnL0MjDz-vqfO9I5L77biMKs,632
|
10
10
|
aiteamutils/exceptions.py,sha256=YV-ISya4wQlHk4twvGo16I5r8h22-tXpn9wa-b3WwDM,15231
|
11
11
|
aiteamutils/security.py,sha256=AZszaTxVEGi1jU1sX3QXHGgshp1lVvd0xXvZejXvs_w,12643
|
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=NcySKhUNLNSDWEOg8GGMsSljHPsJiM_LdJJHBQJQG8s,44
|
14
|
+
aiteamutils-0.2.15.dist-info/METADATA,sha256=2h2jY-E5xlWm5n9csmSjxXV2XilC2a0qivb1p7JlCvc,1718
|
15
|
+
aiteamutils-0.2.15.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
16
|
+
aiteamutils-0.2.15.dist-info/RECORD,,
|
File without changes
|