'Filter method needs to be lazily resolved, as it may be dependent on
the \'parent\' FilterSet.'

def method():

    def fget(self):
        return self._method
    def fset(self, value):
        self._method = value
        if isinstance(self.filter, FilterMethod):
            del self.filter
        if (value is not None):
            self.filter = FilterMethod(self)
    return locals()
