Skip to content

Commit

Permalink
ajusta verifivação de tipo para data_versao_gtfs
Browse files Browse the repository at this point in the history
  • Loading branch information
vtr363 committed Jul 19, 2024
1 parent 45b1fbb commit dddc6bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pipelines/migration/br_rj_riodejaneiro_gtfs/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,9 @@
data_versao=data_versao_gtfs_merge
)

data_versao_gtfs_is_str = task(lambda: isinstance(data_versao_gtfs_merge, str))()
data_versao_gtfs_is_str = task(lambda data_versao: isinstance(data_versao, str))(
data_versao_gtfs_merge
)

with case(data_versao_gtfs_is_str, False):
string_data_versao_gtfs = parse_timestamp_to_string(
Expand Down

0 comments on commit dddc6bc

Please sign in to comment.