def error(self): if self.ref().error == ffi.NULL: return None else: return ffi.string(self.ref().error).decode()
def status(self): return ffi.string(self.ref().status).decode()
def sq_static_str(s): return ffi.string(s).decode()
def slug(self): return ffi.string(self.ref().slug).decode()
def sq_str(s): t = ffi.string(s).decode() lib.free(s) return t