@@ -240,9 +240,9 @@ class AutoMLBatchPredictOperator(BaseOperator):
240
240
written. If a dict is provided, it must be of the same form as the protobuf message
241
241
`google.cloud.automl_v1beta1.types.BatchPredictOutputConfig`
242
242
:type output_config: Union[dict, ~google.cloud.automl_v1beta1.types.BatchPredictOutputConfig]
243
- :param params : Additional domain-specific parameters for the predictions, any string must be up to
244
- 25000 characters long.
245
- :type params : Optional[Dict[str, str]]
243
+ :param prediction_params : Additional domain-specific parameters for the predictions,
244
+ any string must be up to 25000 characters long.
245
+ :type prediction_params : Optional[Dict[str, str]]
246
246
:param project_id: ID of the Google Cloud project where model is located if None then
247
247
default project_id is used.
248
248
:type project_id: str
@@ -287,7 +287,7 @@ def __init__( # pylint: disable=too-many-arguments
287
287
output_config : dict ,
288
288
location : str ,
289
289
project_id : Optional [str ] = None ,
290
- params : Optional [Dict [str , str ]] = None ,
290
+ prediction_params : Optional [Dict [str , str ]] = None ,
291
291
metadata : Optional [MetaData ] = None ,
292
292
timeout : Optional [float ] = None ,
293
293
retry : Optional [Retry ] = None ,
@@ -300,7 +300,7 @@ def __init__( # pylint: disable=too-many-arguments
300
300
self .model_id = model_id
301
301
self .location = location
302
302
self .project_id = project_id
303
- self .params = params # type: ignore
303
+ self .prediction_params = prediction_params
304
304
self .metadata = metadata
305
305
self .timeout = timeout
306
306
self .retry = retry
@@ -321,7 +321,7 @@ def execute(self, context):
321
321
output_config = self .output_config ,
322
322
project_id = self .project_id ,
323
323
location = self .location ,
324
- params = self .params ,
324
+ params = self .prediction_params ,
325
325
retry = self .retry ,
326
326
timeout = self .timeout ,
327
327
metadata = self .metadata ,
0 commit comments