@classmethod
    def type(cls, value):
        return cls(type={'value': value})
http://www.elasticsearch.org/guide/reference/query-dsl/type-filter.html
dataset/ETHPy150Open ooici/elasticpy/elasticpy/filter.py/ElasticFilter.type