This is an automated email from the ASF dual-hosted git repository. zhongjiajie pushed a commit to branch 4.0.4-prepare in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-sdk-python.git
commit e0d17bce87183b2e3a5c7c8448f81459e5ac609e Author: Jay Chung <[email protected]> AuthorDate: Thu Jul 20 15:42:18 2023 +0800 fix: Correct the bad env name of users tenant (#97) fix: #94 --- .dlc.json | 3 ++- src/pydolphinscheduler/configuration.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.dlc.json b/.dlc.json index bd24e4c..2e3e67c 100644 --- a/.dlc.json +++ b/.dlc.json @@ -20,6 +20,7 @@ "retryCount": 10, "fallbackRetryDelay": "1000s", "aliveStatusCodes": [ - 200 + 200, + 0 ] } diff --git a/src/pydolphinscheduler/configuration.py b/src/pydolphinscheduler/configuration.py index 9d12afe..91ecba9 100644 --- a/src/pydolphinscheduler/configuration.py +++ b/src/pydolphinscheduler/configuration.py @@ -184,7 +184,7 @@ USER_PASSWORD = os.environ.get( "PYDS_USER_PASSWORD", configs.get("default.user.password") ) USER_EMAIL = os.environ.get("PYDS_USER_EMAIL", configs.get("default.user.email")) -USER_TENANT = os.environ.get("PYDS_USER_STATE", configs.get("default.user.tenant")) +USER_TENANT = os.environ.get("PYDS_USER_TENANT", configs.get("default.user.tenant")) USER_PHONE = str(os.environ.get("PYDS_USER_PHONE", configs.get("default.user.phone"))) USER_STATE = get_int( os.environ.get("PYDS_USER_STATE", configs.get("default.user.state"))
