@classmethod
    def get_dsl_class(cls, name):
        try:
            return cls._classes[name]
        except __HOLE__:
            raise UnknownDslObject('DSL class `%s` does not exist in %s.' % (name, cls._type_name))
dataset/ETHPy150Open elastic/elasticsearch-dsl-py/elasticsearch_dsl/utils.py/DslBase.get_dsl_class