@@ -318,7 +318,7 @@ async def flush_job(self, job_id, body=None, params=None, headers=None):
318318 body = body ,
319319 )
320320
321- @query_params ("duration" , "expires_in" )
321+ @query_params ("duration" , "expires_in" , "max_model_memory" )
322322 async def forecast (self , job_id , params = None , headers = None ):
323323 """
324324 Predicts the future behavior of a time series by using its historical behavior.
@@ -328,6 +328,8 @@ async def forecast(self, job_id, params=None, headers=None):
328328 :arg duration: The duration of the forecast
329329 :arg expires_in: The time interval after which the forecast
330330 expires. Expired forecasts will be deleted at the first opportunity.
331+ :arg max_model_memory: The max memory able to be used by the
332+ forecast. Default is 20mb.
331333 """
332334 if job_id in SKIP_IN_PATH :
333335 raise ValueError ("Empty value passed for a required argument 'job_id'." )
@@ -1244,6 +1246,7 @@ async def delete_trained_model(self, model_id, params=None, headers=None):
12441246 @query_params (
12451247 "allow_no_match" ,
12461248 "decompress_definition" ,
1249+ "for_export" ,
12471250 "from_" ,
12481251 "include_model_definition" ,
12491252 "size" ,
@@ -1261,6 +1264,8 @@ async def get_trained_models(self, model_id=None, params=None, headers=None):
12611264 :arg decompress_definition: Should the model definition be
12621265 decompressed into valid JSON or returned in a custom compressed format.
12631266 Defaults to true. Default: True
1267+ :arg for_export: Omits fields that are illegal to set on model
1268+ PUT
12641269 :arg from\\ _: skips a number of trained models
12651270 :arg include_model_definition: Should the full model definition
12661271 be included in the results. These definitions can be large. So be
0 commit comments