Exemplo n.º 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
Exemplo n.º 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
Exemplo n.º 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