aiteamutils 0.2.31__tar.gz → 0.2.32__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.31
3
+ Version: 0.2.32
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
@@ -60,10 +60,10 @@ def get_service(name: str):
60
60
  Returns:
61
61
  Callable: 서비스 인스턴스를 반환하는 의존성 함수
62
62
  """
63
- def _get_service(db: AsyncSession = Depends(get_db)):
63
+ def _get_service(db_service: DatabaseService = Depends(get_database_service)):
64
64
  repository_class, service_class = service_registry.get(name)
65
- repository = repository_class(db)
66
- return service_class(repository, db)
65
+ repository = repository_class(db_service)
66
+ return service_class(repository, db_service)
67
67
  return _get_service
68
68
 
69
69
  oauth2_scheme = OAuth2PasswordBearer(tokenUrl="/users/token")
@@ -0,0 +1,2 @@
1
+ """버전 정보"""
2
+ __version__ = "0.2.32"
@@ -1,2 +0,0 @@
1
- """버전 정보"""
2
- __version__ = "0.2.31"
File without changes
File without changes
File without changes