Skip to content

Commit 9d8ad51

Browse files
committed
Fix get all tables return type
1 parent 263e7a0 commit 9d8ad51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/plugin/code_generator/crud/crud_gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class CRUDGen:
1212
"""代码生成 CRUD 类"""
1313

1414
@staticmethod
15-
async def get_all_tables(db: AsyncSession, table_schema: str) -> list[str]:
15+
async def get_all_tables(db: AsyncSession, table_schema: str) -> Sequence[str]:
1616
"""
1717
获取所有表名
1818

0 commit comments

Comments
 (0)