Skip to content

Commit

Permalink
linted
Browse files Browse the repository at this point in the history
  • Loading branch information
wendy-aw authored and rishsriv committed Aug 16, 2024
1 parent 977b356 commit a575d45
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions translate_sql_dialect.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@
lambda x: instructions_to_tsql(x["instructions"]), axis=1
)
else:
print(f"Instructions translation not yet supported for {dialect}. Please add an instructions_to_{dialect} function in utils/dialects.py")
print(
f"Instructions translation not yet supported for {dialect}. Please add an instructions_to_{dialect} function in utils/dialects.py"
)

if "full_instructions" in df.columns:
if dialect == "sqlite":
Expand All @@ -85,7 +87,9 @@
lambda x: instructions_to_tsql(x["full_instructions"]), axis=1
)
else:
print(f"Instructions translation not yet supported for {dialect}. Please add an instructions_to_{dialect} function in utils/dialects.py")
print(
f"Instructions translation not yet supported for {dialect}. Please add an instructions_to_{dialect} function in utils/dialects.py"
)

# if db_name is empty, use "dbname"
df["db_name"] = df.apply(
Expand Down

0 comments on commit a575d45

Please sign in to comment.