aiteamutils 0.2.5__py3-none-any.whl → 0.2.7__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -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:
aiteamutils/validators.py CHANGED
@@ -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
aiteamutils/version.py CHANGED
@@ -1,2 +1,2 @@
1
1
  """버전 정보"""
2
- __version__ = "0.2.5"
2
+ __version__ = "0.2.7"
@@ -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
@@ -5,12 +5,12 @@ aiteamutils/base_service.py,sha256=E4dHGE0DvhmRyFplh46SwKJOSF_nUL7OAsCkf_ZJF_8,2
5
5
  aiteamutils/cache.py,sha256=tr0Yn8VPYA9QHiKCUzciVlQ2J1RAwNo2K9lGMH4rY3s,1334
6
6
  aiteamutils/config.py,sha256=vC6k6E2-Y4mD0E0kw6WVgSatCl9K_BtTwrVFhLrhCzs,665
7
7
  aiteamutils/database.py,sha256=U71cexPsSmMTKgp098I574PupqnuPltujI4QKHBG2Cc,29952
8
- aiteamutils/dependencies.py,sha256=EJeVtq_lACuoheVhkX23N9xiak9bGD-t3-2JtlgBki0,4850
8
+ aiteamutils/dependencies.py,sha256=siTxeyEwzOYf5hPrLevVjQ9XsvOSAXO1vCkrxWellr8,4830
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
- aiteamutils/validators.py,sha256=9BHm9Zy9paHLArWXbXYjXBQYjOs4XEvM7kAaGEFvz7Q,7747
13
- aiteamutils/version.py,sha256=wpvxOxJZfuu0Qef9dgGV7eDMrhxlMA4E5VAt26kNVpo,42
14
- aiteamutils-0.2.5.dist-info/METADATA,sha256=vueKYW49HcZXRuikTPvC-xp3vQPcOjqlA6nzGTH-LoU,1717
15
- aiteamutils-0.2.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
- aiteamutils-0.2.5.dist-info/RECORD,,
12
+ aiteamutils/validators.py,sha256=3N245cZFjgwtW_KzjESkizx5BBUDaJLbbxfNO4WOFZ0,7764
13
+ aiteamutils/version.py,sha256=WmsEyYcQAHNtT-NWAAqhU8ZUs__TUu7iscOeL3CAMks,42
14
+ aiteamutils-0.2.7.dist-info/METADATA,sha256=VgrDHWMjZ7IrvD8j8StzIug3fn9Rg7v46YumD40Y4IM,1717
15
+ aiteamutils-0.2.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
16
+ aiteamutils-0.2.7.dist-info/RECORD,,