def get_remote_data(data, settings, mode, more_excluded_names=None):
 supported_types = get_supported_types()
 assert (mode in list(supported_types.keys()))
 excluded_names = settings['excluded_names']
 if (more_excluded_names is not None):
  excluded_names += more_excluded_names
 return globalsfilter(data, check_all=settings['check_all'], filters=tuple(supported_types[mode]), exclude_private=settings['exclude_private'], exclude_uppercase=settings['exclude_uppercase'], exclude_capitalized=settings['exclude_capitalized'], exclude_unsupported=settings['exclude_unsupported'], excluded_names=excluded_names)

def get_remote_data ( data , settings , mode , more_excluded_names = None ) : supported_types = get_supported_types ( ) assert ( mode in list ( supported_types . keys ( ) ) ) excluded_names = settings [ 'excluded_names' ] if ( more_excluded_names is not None ) : excluded_names += more_excluded_names return globalsfilter ( data , check_all = settings [ 'check_all' ] , filters = tuple ( supported_types [ mode ] ) , exclude_private = settings [ 'exclude_private' ] , exclude_uppercase = settings [ 'exclude_uppercase' ] , exclude_capitalized = settings [ 'exclude_capitalized' ] , exclude_unsupported = settings [ 'exclude_unsupported' ] , excluded_names = excluded_names )
return globals according to filter described in *settings*: * data: data to be filtered * settings: variable explorer settings * mode : editable or picklable * more_excluded_names: additional excluded names .