# Path: cartographer/utils/collections.py
# def filter_dict(dictionary_to_filter):
#     return dict((k, v) for k, v in dictionary_to_filter.items() if v is not None)


from collections import defaultdict
from enum import Enum
from cartographer.utils.collections import filter_dict



class ResourceRegistryKeys(Enum):
    TYPE = "type"
    SCHEMA = "schema"
    SERIALIZER = "serializer"
    PARSER = "parser"
    MASK = "mask"

# Path: cartographer/utils/collections.py
# def filter_dict(dictionary_to_filter):
#     return dict((k, v) for k, v in dictionary_to_filter.items() if v is not None)


# Path: cartographer/resources/resource_registry.py
from collections import defaultdict
from enum import Enum
from cartographer.utils.collections import filter_dict




class ResourceRegistryKeys(Enum):
    TYPE = "type"
    SCHEMA = "schema"
    SERIALIZER = "serializer"
    PARSER = "parser"
    MASK = "mask"

    MODEL = "model"