diff --git a/tabpy/tabpy_server/app/app.py b/tabpy/tabpy_server/app/app.py index 118f39d2..57501584 100644 --- a/tabpy/tabpy_server/app/app.py +++ b/tabpy/tabpy_server/app/app.py @@ -360,9 +360,12 @@ def _parse_config(self, config_file): 100, None), (SettingsParameters.GzipEnabled, ConfigParameters.TABPY_GZIP_ENABLE, True, parser.getboolean), - (SettingsParameters.ArrowEnabled, ConfigParameters.TABPY_ARROW_ENABLE, False, parser.getboolean), - (SettingsParameters.ArrowFlightPort, ConfigParameters.TABPY_ARROWFLIGHT_PORT, 13622, parser.getint), - (SettingsParameters.ArrowFlightBindIp, ConfigParameters.TABPY_ARROWFLIGHT_BIND_IP, '0.0.0.0', None), + (SettingsParameters.ArrowEnabled, ConfigParameters.TABPY_ARROW_ENABLE, + False, parser.getboolean), + (SettingsParameters.ArrowFlightPort, ConfigParameters.TABPY_ARROWFLIGHT_PORT, + 13622, parser.getint), + (SettingsParameters.ArrowFlightBindIp, ConfigParameters.TABPY_ARROWFLIGHT_BIND_IP, + '0.0.0.0', None), ] for setting, parameter, default_val, parse_function in settings_parameters: @@ -502,8 +505,11 @@ def _handle_configuration_without_authentication(self): confirm_no_auth_msg = "\nWARNING: This TabPy server is not currently configured for username/password authentication. " if self.settings[SettingsParameters.EvaluateEnabled]: - confirm_no_auth_msg += ("This means that, because the TABPY_EVALUATE_ENABLE feature is enabled, there is " - "the potential that unauthenticated individuals may be able to remotely execute code on this machine. ") + confirm_no_auth_msg += ( + "This means that, because the TABPY_EVALUATE_ENABLE feature is enabled, there is " + "the potential that unauthenticated individuals may be able " + "to remotely execute code on this machine. " + ) confirm_no_auth_msg += ("We strongly advise against proceeding without authentication as it poses a significant security risk.\n\n" "Do you wish to proceed without authentication? (y/N): ")