peri/states.py
def get(self, name):
        """ Return component by category name """
        for c in self.comps:
            if c.category == name:
                return c
        return None
def get(self, name):
        """ Return component by category name """
        for c in self.comps:
            if c.category == name:
                return c
        return None
def get ( self , name ) : for c in self . comps : if c . category == name : return c return None
Return component by category name
Return component by category name