def wsfilter(input_dict, check_all=check_all, filters=tuple(SUPPORTED_TYPES[mode])):
    'Keep only objects that can be pickled'
    return globalsfilter(input_dict, check_all=check_all, filters=filters, exclude_private=self.exclude_private, exclude_uppercase=self.exclude_uppercase, exclude_capitalized=self.exclude_capitalized, exclude_unsupported=self.exclude_unsupported, excluded_names=self.excluded_names)
Keep only objects that can be pickled
def wsfilter(input_dict, check_all=check_all, filters=tuple(SUPPORTED_TYPES[mode])):
    
    return globalsfilter(input_dict, check_all=check_all, filters=filters, exclude_private=self.exclude_private, exclude_uppercase=self.exclude_uppercase, exclude_capitalized=self.exclude_capitalized, exclude_unsupported=self.exclude_unsupported, excluded_names=self.excluded_names)