Skip to content

Commit

Permalink
linted
Browse files Browse the repository at this point in the history
  • Loading branch information
wendy-aw committed Jun 24, 2024
1 parent 11fb842 commit e9cf81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/gen_prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def generate_prompt(
if db_type in ["sqlite", "mysql", "bigquery"]:
for schema_name in schema_names:
cot_instructions = cot_instructions.replace(f"{schema_name}.", "")

# transform metadata string to target dialect if necessary
if db_type in ["postgres", "snowflake"]:
table_metadata_string = table_metadata_ddl + join_str
Expand Down

0 comments on commit e9cf81d

Please sign in to comment.