Skip to content

Commit

Permalink
🐛 fixed parameter literal definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego-H-S committed Mar 19, 2024
1 parent d94078f commit b2db3b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions viadot/tasks/azure_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def run(
table: str,
dtypes: Dict[str, Any],
sep: str = None,
if_exists: Literal = ["fail", "replace", "append", "delete"],
if_exists: Literal["fail", "replace", "append", "delete"] = "fail",
):
"""
Create a table from an Azure Blob object.
Expand All @@ -75,8 +75,8 @@ def run(
schema (str): Destination schema.
table (str): Destination table.
dtypes (Dict[str, Any]): Data types to force.
sep (str): The separator to use to read the CSV file.
if_exists (Literal, optional): What to do if the table already exists.
sep (str, optional): The separator to use to read the CSV file. Defaults to None.
if_exists (Literal["fail", "replace", "append", "delete"], optional): What to do if the table already exists. Defaults to "fail".
"""

fqn = f"{schema}.{table}" if schema else table
Expand Down

0 comments on commit b2db3b4

Please sign in to comment.