def set_gid_admin(self, gid, admin=None): self.rc.hset(S1.gid_key(gid), S1.admin_key(), admin if admin else 1)
def get_gid_admin(self, gid): return self.rc.hget(S1.gid_key(gid), S1.admin_key())
def set_gid_admin(self, gid, admin=None): self.rc.hset(S1.gid_key(gid), S1.admin_key(), admin if admin else 1)
def get_gid_admin(self, gid): return self.rc.hget(S1.gid_key(gid), S1.admin_key())