Skip to content

Commit 817dc85

Browse files
committed
fix: handle empty variable
1 parent 441a790 commit 817dc85

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
@@ -340,6 +340,7 @@ class Configuration(CrawleeConfiguration):
340340
alias='apify_user_is_paying',
341341
description='True if the user calling the Actor is paying user',
342342
),
343+
BeforeValidator(lambda val: False if val == '' else val),
343344
] = False
344345

345346
web_server_port: Annotated[

0 commit comments

Comments
 (0)