(self, state)
get all tables with specific state
get all tables with specific state
get all tables with specific state
def get_tables_in_state(self, state):
        "get all tables with specific state"

        for t in self.table_list:
            if t.state == state:
                yield t
def get_tables_in_state ( self , state ) : for t in self . table_list : if t . state == state : yield t