Skip to content

Commit

Permalink
🐛 removed if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
judynah committed Oct 25, 2023
1 parent bd492c6 commit d144bd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions tests/integration/flows/test_customer_gauge_to_adls.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,7 @@ def test_customer_gauge_to_adls_run_flow_validation_failure(mocked_class):
flow.run()
except ValidationError:
pass

os.remove("test_customer_gauge_to_adls_flow_run.parquet")
os.remove("test_customer_gauge_to_adls_flow_run.json")

6 changes: 0 additions & 6 deletions viadot/flows/customer_gauge_to_adls.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,6 @@ def gen_flow(self) -> Flow:
days=self.days,
flow=self,
)

if self.validate_df_dict:
validation_task = validate_df.bind(
anonymized_df, tests=self.validate_df_dict, flow=self
)
validation_task.set_upstream(anonymized_df, flow=self)

df_with_metadata = add_ingestion_metadata_task.bind(
anonymized_df, flow=self
Expand Down

0 comments on commit d144bd6

Please sign in to comment.