diff --git a/backend/apps/datasource/crud/datasource.py b/backend/apps/datasource/crud/datasource.py index 43dfed4f..7c7aad38 100644 --- a/backend/apps/datasource/crud/datasource.py +++ b/backend/apps/datasource/crud/datasource.py @@ -395,7 +395,7 @@ def get_table_schema(session: SessionDep, current_user: CurrentUser, ds: CoreDat else: field_list.append(f"({field.field_name}:{field.field_type}, {field_comment})") schema_table += ",\n".join(field_list) - schema_table += '\n]\n' + schema_table += '\n]\n' t_obj = {"id": obj.table.id, "schema_table": schema_table} tables.append(t_obj)