예제 #1
0
 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))
예제 #2
0
 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))
예제 #3
0
 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))