def get_filters(self):
    '\n        Return a list of all the names and attributes on this report instance\n        which have a base class of Filter.\n        '
    filters = []
    for name in dir(self):
        attr = object.__getattribute__(self, name)
        if issubclass(type(attr), Filter):
            filters.append((name, attr))
    return sorted(filters, key=(lambda attr: attr[1].order))
Return a list of all the names and attributes on this report instance
which have a base class of Filter.
def get_filters(self):
    '\n        Return a list of all the names and attributes on this report instance\n        which have a base class of Filter.\n        '
    filters = []
    for name in dir(self):
        attr = object.__getattribute__(self, name)
        if issubclass(type(attr), Filter):
            filters.append((name, attr))
    return sorted(filters, key=(lambda attr: attr[1].order))