Skip to content

Commit 862fecd

Browse files
committed
format
1 parent f32a186 commit 862fecd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/sagemaker/modules/configs.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,7 @@ def _to_vpc_config(self) -> shapes.VpcConfig:
199199
compute_config_dict = self.model_dump()
200200
vpc_config_fields = set(shapes.VpcConfig.__annotations__.keys())
201201
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
202+
k: v for k, v in compute_config_dict.items() if k in vpc_config_fields and v is not None
205203
}
206204
if not filtered_dict:
207205
return None

0 commit comments

Comments
 (0)