aiteamutils 0.2.5__tar.gz → 0.2.7__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/PKG-INFO +1 -1
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/aiteamutils/dependencies.py +2 -2
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/aiteamutils/validators.py +1 -1
- aiteamutils-0.2.7/aiteamutils/version.py +2 -0
- aiteamutils-0.2.5/aiteamutils/version.py +0 -2
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/.gitignore +0 -0
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/README.md +0 -0
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/aiteamutils/__init__.py +0 -0
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/aiteamutils/base_model.py +0 -0
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/aiteamutils/base_repository.py +0 -0
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/aiteamutils/base_service.py +0 -0
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/aiteamutils/cache.py +0 -0
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/aiteamutils/config.py +0 -0
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/aiteamutils/database.py +0 -0
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/aiteamutils/enums.py +0 -0
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/aiteamutils/exceptions.py +0 -0
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/aiteamutils/security.py +0 -0
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/pyproject.toml +0 -0
- {aiteamutils-0.2.5 → aiteamutils-0.2.7}/setup.py +0 -0
@@ -4,7 +4,7 @@ from fastapi import Depends, status
|
|
4
4
|
from fastapi.security import OAuth2PasswordBearer
|
5
5
|
from jose import JWTError, jwt
|
6
6
|
|
7
|
-
from .database import
|
7
|
+
from .database import DatabaseService
|
8
8
|
from .exceptions import CustomException, ErrorCode
|
9
9
|
|
10
10
|
class Settings:
|
@@ -81,7 +81,7 @@ class ServiceRegistry:
|
|
81
81
|
# ServiceRegistry 초기화
|
82
82
|
service_registry = ServiceRegistry()
|
83
83
|
|
84
|
-
def get_database_service(db: AsyncSession
|
84
|
+
async def get_database_service(db: AsyncSession) -> DatabaseService:
|
85
85
|
"""DatabaseService 의존성
|
86
86
|
|
87
87
|
Args:
|
@@ -6,7 +6,7 @@ from sqlalchemy import Table
|
|
6
6
|
from sqlalchemy.ext.asyncio import AsyncSession
|
7
7
|
from fastapi import Request
|
8
8
|
from inspect import signature
|
9
|
-
from pydantic import BaseModel
|
9
|
+
from pydantic import BaseModel, field_validator
|
10
10
|
import re
|
11
11
|
|
12
12
|
from .exceptions import ErrorCode, CustomException
|
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
|