Skip to content

Commit 411c7f1

Browse files
authored
chore: add APIFY_USER_IS_PAYING env var to the ApifyEnvVars (#40)
Adds `APIFY_USER_IS_PAYING` environmental variable to the `ApifyEnvVars` PR with updated documentation is here: apify/apify-docs#1706
1 parent 9f577bb commit 411c7f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/apify_shared/consts.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ class ApifyEnvVars(str, Enum):
171171
TOKEN = 'APIFY_TOKEN'
172172
#: USER_ID
173173
USER_ID = 'APIFY_USER_ID'
174+
#: USER_IS_PAYING
175+
USER_IS_PAYING = 'APIFY_USER_IS_PAYING'
174176
#: WORKFLOW_KEY
175177
WORKFLOW_KEY = 'APIFY_WORKFLOW_KEY'
176178

@@ -307,6 +309,7 @@ class MetaOrigin(str, Enum):
307309
ApifyEnvVars.IS_AT_HOME,
308310
ApifyEnvVars.PERSIST_STORAGE,
309311
ApifyEnvVars.PURGE_ON_START,
312+
ApifyEnvVars.USER_IS_PAYING,
310313
]
311314

312315
BOOL_ENV_VARS: list[BOOL_ENV_VARS_TYPE] = list(get_args(BOOL_ENV_VARS_TYPE))

0 commit comments

Comments
 (0)