Skip to content

Commit 58bb448

Browse files
authored
Merge branch 'master' into feature/jumpstart-proprietary-register
2 parents 22ff013 + 31190c4 commit 58bb448

File tree

1 file changed

+6
-3
lines changed
  • src/sagemaker/jumpstart/hub

1 file changed

+6
-3
lines changed

src/sagemaker/jumpstart/hub/hub.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,13 +184,16 @@ def list_models(self, clear_cache: bool = True, **kwargs) -> Dict[str, Any]:
184184
**{
185185
"hub_name": self.hub_name,
186186
"hub_content_type": HubContentType.MODEL_REFERENCE.value,
187+
**kwargs,
187188
}
188-
| kwargs
189189
)
190190

191191
hub_model_summaries = self._list_and_paginate_models(
192-
**{"hub_name": self.hub_name, "hub_content_type": HubContentType.MODEL.value}
193-
| kwargs
192+
**{
193+
"hub_name": self.hub_name,
194+
"hub_content_type": HubContentType.MODEL.value,
195+
**kwargs,
196+
}
194197
)
195198
response["hub_content_summaries"] = hub_model_reference_summaries + hub_model_summaries
196199
response["next_token"] = None # Temporary until pagination is implemented

0 commit comments

Comments
 (0)