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 f32a186 commit 862fecdCopy full SHA for 862fecd
src/sagemaker/modules/configs.py
@@ -199,9 +199,7 @@ def _to_vpc_config(self) -> shapes.VpcConfig:
199
compute_config_dict = self.model_dump()
200
vpc_config_fields = set(shapes.VpcConfig.__annotations__.keys())
201
filtered_dict = {
202
- k: v
203
- for k, v in compute_config_dict.items()
204
- if k in vpc_config_fields and v is not None
+ k: v for k, v in compute_config_dict.items() if k in vpc_config_fields and v is not None
205
}
206
if not filtered_dict:
207
return None
0 commit comments