From 516e3810d6875f42fe43c2c4fab6bc935eb88d4d Mon Sep 17 00:00:00 2001 From: wxg <727495428@qq.com> Date: Thu, 7 Aug 2025 12:34:54 +0800 Subject: [PATCH] Update assistant.py Remove unused code --- backend/apps/system/crud/assistant.py | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/apps/system/crud/assistant.py b/backend/apps/system/crud/assistant.py index 8238ab45..0699ec06 100644 --- a/backend/apps/system/crud/assistant.py +++ b/backend/apps/system/crud/assistant.py @@ -139,7 +139,6 @@ class AssistantOutDs: def get_db_schema(self, ds_id: int) -> str: ds = self.get_ds(ds_id) schema_str = "" - # db_name = ds.db_schema db_name = ds.db_schema if ds.db_schema is not None and ds.db_schema != "" else ds.dataBase schema_str += f"【DB_ID】 {db_name}\n【Schema】\n" for table in ds.tables: