aiteamutils 0.2.14__tar.gz → 0.2.15__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/PKG-INFO +1 -1
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/aiteamutils/database.py +1 -1
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/aiteamutils/dependencies.py +2 -2
- aiteamutils-0.2.15/aiteamutils/version.py +2 -0
- aiteamutils-0.2.14/aiteamutils/version.py +0 -2
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/.gitignore +0 -0
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/README.md +0 -0
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/aiteamutils/__init__.py +0 -0
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/aiteamutils/base_model.py +0 -0
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/aiteamutils/base_repository.py +0 -0
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/aiteamutils/base_service.py +0 -0
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/aiteamutils/cache.py +0 -0
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/aiteamutils/config.py +0 -0
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/aiteamutils/enums.py +0 -0
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/aiteamutils/exceptions.py +0 -0
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/aiteamutils/security.py +0 -0
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/aiteamutils/validators.py +0 -0
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/pyproject.toml +0 -0
- {aiteamutils-0.2.14 → aiteamutils-0.2.15}/setup.py +0 -0
@@ -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 인스턴스를 반환하는 함수
|
@@ -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,
|
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
|