Exemple #1
0
 def get(self, domain):
     accounts = Account.getall()
     self.writeasjson({
         "accounts": [Account.static_filter(a) for a in accounts if a.get("domain", "") == domain],
     })