Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
loren committed Jan 16, 2025
1 parent 20413ba commit da8b037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sinker/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

def parse_schema_tables(view_select_query: str) -> Tuple[str, Set[str]]:
"""
Given a view select query, return a primary parent table and the set of unique tables that are referenced in the query.
Skip anything that looks like a function call.
Given a view select query, return a primary parent table and the set of unique tables that are referenced in the
query. Skip anything that looks like a function call.
:param view_select_query: The select query from the view
"""
parsed = sqlglot.parse_one(view_select_query)
Expand Down

0 comments on commit da8b037

Please sign in to comment.