asyncmy → aiomysql 변경
parent
73e5da3f08
commit
90c914343f
|
|
@ -53,3 +53,4 @@ Dockerfile
|
||||||
|
|
||||||
zzz/
|
zzz/
|
||||||
credentials/service_account.json
|
credentials/service_account.json
|
||||||
|
o2o-castad-scheduler/
|
||||||
|
|
@ -107,8 +107,8 @@ class DatabaseSettings(BaseSettings):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def MYSQL_URL(self) -> str:
|
def MYSQL_URL(self) -> str:
|
||||||
"""비동기 MySQL URL 생성 (asyncmy 드라이버 사용, SQLAlchemy 통합 최적화)"""
|
"""비동기 MySQL URL 생성 (aiomysql 드라이버 사용, SQLAlchemy 통합 최적화)"""
|
||||||
return f"mysql+asyncmy://{self.MYSQL_USER}:{self.MYSQL_PASSWORD}@{self.MYSQL_HOST}:{self.MYSQL_PORT}/{self.MYSQL_DB}"
|
return f"mysql+aiomysql://{self.MYSQL_USER}:{self.MYSQL_PASSWORD}@{self.MYSQL_HOST}:{self.MYSQL_PORT}/{self.MYSQL_DB}"
|
||||||
|
|
||||||
def REDIS_URL(self, db: int = 0) -> str:
|
def REDIS_URL(self, db: int = 0) -> str:
|
||||||
"""Redis URL 생성 (db 인수로 기본값 지원)"""
|
"""Redis URL 생성 (db 인수로 기본값 지원)"""
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 97379bebd470d0336f0e74c7eb2e1a0842dc0c49
|
Subproject commit 9f17786920f1a2a6a508d4e9c62a162831fc495b
|
||||||
Loading…
Reference in New Issue