Skip to content

Commit

Permalink
fix: Allow empty timeout_at env variable (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
janbuchar authored Oct 23, 2024
1 parent cac88b0 commit b67ec98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/apify/_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ class Configuration(CrawleeConfiguration):
),
description='Date when the Actor will time out',
),
BeforeValidator(lambda val: val if val != '' else None), # We should accept empty environment variables as well
] = None

standby_port: Annotated[
Expand Down

0 comments on commit b67ec98

Please sign in to comment.