def __init__(self, lookup=None, name=None, **kwargs):
self.name = name<EOL>if lookup:<EOL><INDENT>self.lookup_type = lookup<EOL><DEDENT>if self.lookup_type not in self.VALID_LOOKUPS:<EOL><INDENT>raise TypeError("<STR_LIT>" + repr(self.lookup_type))<EOL><DEDENT>self.parent = None<EOL>self.field = self.make_field(**kwargs)<EOL>self._creation_order = Filter._creation_counter<EOL>Filter._creation_counter += <NUM_LIT:1><EOL>
Args:
- lookup: override lookup operator
- name: override binding name
- kwargs: args to pass to field constructor