Skip to content

Commit

Permalink
division_io passes through verbose on url update
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed Mar 21, 2024
1 parent 6e53e59 commit 5dbb775
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/division_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def df_to_db(df: pd.DataFrame, *, new_priority: TitlePriority, verbose: bool = F
db_connection.close()


def url_to_db(url: str, *, new_priority: TitlePriority):
def url_to_db(url: str, *, new_priority: TitlePriority, verbose: bool = False):
"""
Pipe external URL into the update process.
"""
Expand All @@ -183,7 +183,7 @@ def url_to_db(url: str, *, new_priority: TitlePriority):
else:
raise ValueError("File not an allowed type (csv, json, or parquet)")

df_to_db(df, new_priority=new_priority)
df_to_db(df, new_priority=new_priority, verbose=verbose)


def run_schema_update(verbose: bool = False):
Expand Down

0 comments on commit 5dbb775

Please sign in to comment.