Skip to content

Commit

Permalink
Formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinpurtak committed Dec 6, 2023
1 parent b63d16e commit 9fd6e6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion viadot/task_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,9 @@ def validate_df(df: pd.DataFrame, tests: dict = None) -> None:


@task(timeout=3600, slug="check_df")
def check_if_df_empty(df, if_no_data_returned: Literal["fail", "warn", "skip"] = "fail") -> bool:
def check_if_df_empty(
df, if_no_data_returned: Literal["fail", "warn", "skip"] = "fail"
) -> bool:
"""
Check if a DataFrame received as a data source response is empty.
If fail is expected , this task will finish with ENDRUN(Failed()) state.
Expand Down

0 comments on commit 9fd6e6f

Please sign in to comment.