Example #1
0
 def instance_search_by_activity(self, name):
     r = interface_pb2.ActivitySearchRequest()
     r.name = name
     response = pbrequest(self.endpoint, "ListSearchByActivity", r)
     er = interface_pb2.ActivitySearchResponse()
     er.ParseFromString(response)
     return er
Example #2
0
 def activit_search_all_by_name(self, name):
     r = interface_pb2.ActivitySearchRequest()
     r.name = name
     response = pbrequest(self.endpoint, "ActivitySearchAllByName", r)
     er = interface_pb2.ActivitySearchResponse()
     er.ParseFromString(response)
     return er
Example #3
0
 def user_search_by_activity(self, name):
     r = interface_pb2.ActivitySearchRequest()
     r.name = name
     response = pbrequest(self.endpoint, "ActivitySearchUser", r)
     er = interface_pb2.ActivitySearchResponse()
     er.ParseFromString(response)
     return er