Skip to content

Commit 7b74884

Browse files
committed
fix
1 parent 451de71 commit 7b74884

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

launch/client.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -895,10 +895,7 @@ def get_model_bundle(
895895
resp = api_instance.get_latest_model_bundle_v1_model_bundles_latest_get(
896896
model_name=bundle_name
897897
)
898-
assert (
899-
len(resp.model_bundles) == 1
900-
), f"Bundle with name `{bundle_name}` not found"
901-
return ModelBundle.from_dict(resp.model_bundles[0].to_dict()) # type: ignore
898+
return ModelBundle.from_dict(resp.to_dict()) # type: ignore
902899

903900
def clone_model_bundle_with_changes(
904901
self,

0 commit comments

Comments
 (0)