Skip to content

Commit b67ec98

Browse files
authored
fix: Allow empty timeout_at env variable (#303)
- closes apify/crawlee-python#596
1 parent cac88b0 commit b67ec98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/apify/_configuration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ class Configuration(CrawleeConfiguration):
251251
),
252252
description='Date when the Actor will time out',
253253
),
254+
BeforeValidator(lambda val: val if val != '' else None), # We should accept empty environment variables as well
254255
] = None
255256

256257
standby_port: Annotated[

0 commit comments

Comments
 (0)