Bug Fix for REST API Plugin
The following error was encountered NameError: name 'filter_loading_messages_in_cli_response' is not defined It is noted that some variables were missing in the codes. This patch is to address that. Change-Id: Id5141765d0b06e48fcf4ae3f1ca0410766c3216c
This commit is contained in:
parent
539d5050ad
commit
7a1369c28f
|
@ -33,6 +33,8 @@ airflow_version = airflow.__version__
|
|||
airflow_webserver_base_url = configuration.get('webserver', 'BASE_URL')
|
||||
airflow_base_log_folder = configuration.get('core', 'BASE_LOG_FOLDER')
|
||||
airflow_dags_folder = configuration.get('core', 'DAGS_FOLDER')
|
||||
log_loading = configuration.getboolean("rest_api_plugin", "LOG_LOADING") if configuration.has_option("rest_api_plugin", "LOG_LOADING") else False
|
||||
filter_loading_messages_in_cli_response = configuration.getboolean("rest_api_plugin", "FILTER_LOADING_MESSAGES_IN_CLI_RESPONSE") if configuration.has_option("rest_api_plugin", "FILTER_LOADING_MESSAGES_IN_CLI_RESPONSE") else True
|
||||
|
||||
# Using UTF-8 Encoding so that response messages don't have any characters in them that can't be handled
|
||||
os.environ['PYTHONIOENCODING'] = 'utf-8'
|
||||
|
|
Loading…
Reference in New Issue