Skip to content

Commit

Permalink
Especificar tasks return tuple type
Browse files Browse the repository at this point in the history
  • Loading branch information
Winzen committed Nov 27, 2024
1 parent dcae2ed commit 2e82422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/utils/crawler_tse_eleicoes/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def get_data_source_max_date(flow_class) -> datetime:


@task
def preparing_data(flow_class) -> tuple:
def preparing_data(flow_class) -> tuple[str, str, str]:
flow_class.formatar()
return flow_class.path_output, flow_class.date_column_name, flow_class.date_format

Expand Down

0 comments on commit 2e82422

Please sign in to comment.