File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -228,24 +228,6 @@ def _make_status_error(
228228 if response .status_code >= 500 :
229229 return _exceptions .InternalServerError (err_msg , response = response , body = body )
230230 return APIStatusError (err_msg , response = response , body = body )
231-
232- def run (
233- self ,
234- ref : str ,
235- input : dict [str , Any ] | None = None ,
236- * ,
237- use_file_output : bool = True ,
238- ) -> Any :
239- """
240- Example custom method
241-
242- """
243-
244- # there is some custom logic like run you can embed
245- # e.g. version, owner, name, version_id = identifier._resolve(ref)
246- prediction = self .predictions .create (version = "placeholder" , input = input )
247-
248- return prediction .output
249231
250232
251233class AsyncReplicateClient (AsyncAPIClient ):
@@ -430,7 +412,6 @@ def _make_status_error(
430412 return APIStatusError (err_msg , response = response , body = body )
431413
432414
433-
434415class ReplicateClientWithRawResponse :
435416 def __init__ (self , client : ReplicateClient ) -> None :
436417 self .collections = collections .CollectionsResourceWithRawResponse (client .collections )
You can’t perform that action at this time.
0 commit comments