@@ -130,13 +130,14 @@ def run(
130130 self ,
131131 ref : Union [Model , Version , ModelVersionIdentifier , str ],
132132 * ,
133+ use_file_output : bool = True ,
133134 wait : Union [int , bool , NotGiven ] = NOT_GIVEN ,
134135 ** params : Unpack [PredictionCreateParamsWithoutVersion ],
135136 ) -> Any :
136137 """Run a model and wait for its output."""
137138 from .lib ._predictions import run
138139
139- return run (self , ref , wait = wait , ** params )
140+ return run (self , ref , wait = wait , use_file_output = use_file_output , ** params )
140141
141142 @property
142143 @override
@@ -325,13 +326,14 @@ async def run(
325326 self ,
326327 ref : Union [Model , Version , ModelVersionIdentifier , str ],
327328 * ,
329+ use_file_output : bool = True ,
328330 wait : Union [int , bool , NotGiven ] = NOT_GIVEN ,
329331 ** params : Unpack [PredictionCreateParamsWithoutVersion ],
330332 ) -> Any :
331333 """Run a model and wait for its output."""
332334 from .lib ._predictions import async_run
333335
334- return await async_run (self , ref , wait = wait , ** params )
336+ return await async_run (self , ref , wait = wait , use_file_output = use_file_output , ** params )
335337
336338 @property
337339 @override
0 commit comments