Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rishsriv committed Jun 18, 2024
1 parent 6941ef4 commit e69b0cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions utils/aliases.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@
"to",
]


def get_table_names(md: str) -> List[str]:
"""
Given a string of metadata formatted as a series of
CREATE TABLE statements, return a list of table names in the same order as
CREATE TABLE statements, return a list of table names in the same order as
they appear in the metadata.
"""
table_names = []
Expand Down Expand Up @@ -105,4 +106,4 @@ def generate_aliases(
-- table2 AS t2
"""
aliases = generate_aliases_dict(table_names, reserved_keywords)
return mk_alias_str(aliases)
return mk_alias_str(aliases)

0 comments on commit e69b0cf

Please sign in to comment.