Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-cnivera committed Oct 22, 2024
1 parent 9cf060b commit 2706531
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def _get_column_comment(
def get_table_primary_keys(
conn: SnowflakeConnection,
table_fqn: str,
) -> list[str] | None:
) -> Optional[list[str]]:
query = f"show primary keys in table {table_fqn};"
cursor = conn.cursor()
cursor.execute(query)
Expand Down

0 comments on commit 2706531

Please sign in to comment.