def filter(self, filter):
        if filter is not None:
            assert isinstance(filter, filters.Filter)

            def new_iterator():
                for n in self:
                    if filter._filter(n):
                        yield n
            return NodeIterator(new_iterator)
        else:
            return self
Generate an etag for some data.
dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/inspection/inspector.py/NodeIterator.filter--crossover with--dataset/ETHPy150Open Eforcers/gae-flask-todo/lib/werkzeug/http.py/generate_etag