@classmethod
    def get_dsl_type(cls, name):
        try:
            return cls._types[name]
        except __HOLE__:
            raise UnknownDslObject('DSL type %s does not exist.' % name)
dataset/ETHPy150Open elastic/elasticsearch-dsl-py/elasticsearch_dsl/utils.py/DslMeta.get_dsl_type