Skip to content

Commit

Permalink
🎨 Added run to task
Browse files Browse the repository at this point in the history
  • Loading branch information
angelika233 committed Oct 26, 2023
1 parent a8de722 commit 5e49816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions viadot/tasks/genesys.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def run(
date = start_date.replace("-", "")
file_name = f"conversations_detail_{date}".upper() + ".csv"
if validate_df_dict:
validate_df(df=final_df, tests=validate_df_dict)
validate_df.run(df=final_df, tests=validate_df_dict)
final_df.to_csv(
os.path.join(self.local_file_path, file_name),
index=False,
Expand Down Expand Up @@ -499,7 +499,7 @@ def run(

file_name = f"WEBMESSAGE_{start}-{end}.csv"
if validate_df_dict:
validate_df(df=df, tests=validate_df_dict)
validate_df.run(df=df, tests=validate_df_dict)
df.to_csv(
os.path.join(file_name),
index=False,
Expand Down

0 comments on commit 5e49816

Please sign in to comment.