Beispiel #1
0
 def syncdb(self, user):
     tables = EntityDescription.keys()
     for table in tables:
         attr = getattr(user, table, None)
         if attr and attr.sync:
             loop.spawn_callback(attr.sync)