@@ -360,9 +360,12 @@ def _parse_config(self, config_file):
360360 100 , None ),
361361 (SettingsParameters .GzipEnabled , ConfigParameters .TABPY_GZIP_ENABLE ,
362362 True , parser .getboolean ),
363- (SettingsParameters .ArrowEnabled , ConfigParameters .TABPY_ARROW_ENABLE , False , parser .getboolean ),
364- (SettingsParameters .ArrowFlightPort , ConfigParameters .TABPY_ARROWFLIGHT_PORT , 13622 , parser .getint ),
365- (SettingsParameters .ArrowFlightBindIp , ConfigParameters .TABPY_ARROWFLIGHT_BIND_IP , '0.0.0.0' , None ),
363+ (SettingsParameters .ArrowEnabled , ConfigParameters .TABPY_ARROW_ENABLE ,
364+ False , parser .getboolean ),
365+ (SettingsParameters .ArrowFlightPort , ConfigParameters .TABPY_ARROWFLIGHT_PORT ,
366+ 13622 , parser .getint ),
367+ (SettingsParameters .ArrowFlightBindIp , ConfigParameters .TABPY_ARROWFLIGHT_BIND_IP ,
368+ '0.0.0.0' , None ),
366369 ]
367370
368371 for setting , parameter , default_val , parse_function in settings_parameters :
@@ -502,8 +505,11 @@ def _handle_configuration_without_authentication(self):
502505 confirm_no_auth_msg = "\n WARNING: This TabPy server is not currently configured for username/password authentication. "
503506
504507 if self .settings [SettingsParameters .EvaluateEnabled ]:
505- confirm_no_auth_msg += ("This means that, because the TABPY_EVALUATE_ENABLE feature is enabled, there is "
506- "the potential that unauthenticated individuals may be able to remotely execute code on this machine. " )
508+ confirm_no_auth_msg += (
509+ "This means that, because the TABPY_EVALUATE_ENABLE feature is enabled, there is "
510+ "the potential that unauthenticated individuals may be able "
511+ "to remotely execute code on this machine. "
512+ )
507513
508514 confirm_no_auth_msg += ("We strongly advise against proceeding without authentication as it poses a significant security risk.\n \n "
509515 "Do you wish to proceed without authentication? (y/N): " )
0 commit comments