first init of rewrite

This commit is contained in:
2022-05-18 14:24:05 -05:00
parent 65f672b4a1
commit 37fb9d8fce

View File

@@ -14,7 +14,10 @@ class ApiObject():
@classmethod
def search(cls, client, **kwargs):
try:
results = client.query(cls.rel, "search", **kwargs)
except ServerError as e:
pass
return [cls(client,rel=cls.rel, data=r) for r in results]
@classmethod