We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 451de71 commit 7b74884Copy full SHA for 7b74884
launch/client.py
@@ -895,10 +895,7 @@ def get_model_bundle(
895
resp = api_instance.get_latest_model_bundle_v1_model_bundles_latest_get(
896
model_name=bundle_name
897
)
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
+ return ModelBundle.from_dict(resp.to_dict()) # type: ignore
902
903
def clone_model_bundle_with_changes(
904
self,
0 commit comments