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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiteamutils
3
- Version: 0.2.5
3
+ Version: 0.2.7
4
4
  Summary: AI Team Utilities
5
5
  Project-URL: Homepage, https://github.com/yourusername/aiteamutils
6
6
  Project-URL: Issues, https://github.com/yourusername/aiteamutils/issues
@@ -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 get_db, DatabaseService
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 = Depends(get_db)) -> DatabaseService:
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
@@ -0,0 +1,2 @@
1
+ """버전 정보"""
2
+ __version__ = "0.2.7"
@@ -1,2 +0,0 @@
1
- """버전 정보"""
2
- __version__ = "0.2.5"
File without changes
File without changes
File without changes
File without changes