romsharon98 commented on issue #39577: URL: https://github.com/apache/airflow/issues/39577#issuecomment-2106351474
Hi @tyama711 thanks for opening this issue. You can give the get function a default value if the variable is not exist. ```python Variable.get(key='dummy_key', default_var='default_value') ``` As you said you can retry for any exception you get so I don't think we need to return more specific exception, let me know what you think. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
