File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/sagemaker/jumpstart/hub Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,7 @@ def _fetch_hub_bucket_name(self) -> str:
101
101
self .hub_name ,
102
102
)
103
103
return None
104
+
104
105
def _generate_hub_storage_location (self , bucket_name : Optional [str ] = None ) -> None :
105
106
"""Generates an ``S3ObjectLocation`` given a Hub name."""
106
107
hub_bucket_name = bucket_name or self ._fetch_hub_bucket_name ()
@@ -128,9 +129,11 @@ def create(
128
129
) -> Dict [str , str ]:
129
130
"""Creates a hub with the given description"""
130
131
131
- s3_storage_config = {
132
- "S3OutputPath" : self .hub_storage_location .get_uri ()
133
- } if self .hub_storage_location else None
132
+ s3_storage_config = (
133
+ {"S3OutputPath" : self .hub_storage_location .get_uri ()}
134
+ if self .hub_storage_location
135
+ else None
136
+ )
134
137
135
138
return self ._sagemaker_session .create_hub (
136
139
hub_name = self .hub_name ,
You can’t perform that action at this time.
0 commit comments