style:fmt

This commit is contained in:
aries_ckt 2023-08-22 16:25:45 +08:00
parent c13d89fa22
commit d201ea2949

View File

@ -118,7 +118,13 @@ async def db_connect_delete(db_name: str = None):
@router.get("/v1/chat/db/support/type", response_model=Result[DbTypeInfo])
async def db_support_types():
support_types = [DBType.Mysql, DBType.MSSQL, DBType.DuckDb, DBType.SQLite, DBType.Clickhouse]
support_types = [
DBType.Mysql,
DBType.MSSQL,
DBType.DuckDb,
DBType.SQLite,
DBType.Clickhouse,
]
db_type_infos = []
for type in support_types:
db_type_infos.append(