Skip to content

Commit ea3bf4e

Browse files
committed
Set version field in trainings.create
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
1 parent c528ee4 commit ea3bf4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

replicate/training.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,5 @@ def create( # type: ignore
8686
json=body,
8787
)
8888
obj = resp.json()
89+
obj["version"] = version
8990
return self.prepare_model(obj)

0 commit comments

Comments
 (0)