def add_filter(self, component):
        if getattr(component, "name") != "Filter":
            raise Exception("Component is not an instance of Filter")
        self.filters.append(component)
Add a filter to the layout.
dataset/ETHPy150Open stitchfix/pyxley/pyxley/ui.py/UILayout.add_filter