示例#1
0
 def __init__(self):
     RpcRequest.__init__(self, 'nlp-automl', '2019-11-11',
                         'RunPreTrainService', 'nlpautoml')
     self.set_method('POST')
     if hasattr(self, "endpoint_map"):
         setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
     if hasattr(self, "endpoint_regional"):
         setattr(self, "endpoint_regional",
                 endpoint_data.getEndpointRegional())
示例#2
0
 def __init__(self):
     RpcRequest.__init__(self, 'nlp-automl', '2019-11-11',
                         'CreateAsyncPredict', 'nlpautoml')
     self.set_method('POST')
     if hasattr(self, "endpoint_map"):
         setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
     if hasattr(self, "endpoint_regional"):
         setattr(self, "endpoint_regional",
                 endpoint_data.getEndpointRegional())
 def __init__(self):
     RpcRequest.__init__(self, 'nlp-automl', '2019-07-01',
                         'BindIntervenePackageAndModel', 'nlpautoml')
     self.set_method('POST')
     if hasattr(self, "endpoint_map"):
         setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
     if hasattr(self, "endpoint_regional"):
         setattr(self, "endpoint_regional",
                 endpoint_data.getEndpointRegional())