def get_row(self, app): status = self.get_status() keys = { 'name': self.name, 'status': status, 'status_color': status_to_color(status), 'address': self.get_address() } return list(make_row(app.client_cols, keys))
def get_row(self, app): status = self.get_status() keys = { "name": self.name, "status": status, "status_color": status_to_color(status), "address": self.get_address(), } return list(make_row(app.client_cols, keys))
def get_row(self, app): status = self.get_status() keys = {'name': self.name, 'status': status, 'status_color': status_to_color(status), 'address': self.get_address()} return list(make_row(app.client_cols, keys))