Skip to content

Commit 954f42c

Browse files
committed
fix: black checks
1 parent c79606d commit 954f42c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/sagemaker/feature_store/feature_utils.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ def get_session_from_role(region: str, assume_role: str = None) -> Session:
4646

4747
# It will try to assume the role specified
4848
if assume_role:
49-
sts = boto_session.client(
50-
"sts", region_name=region
51-
)
49+
sts = boto_session.client("sts", region_name=region)
5250

5351
credentials = sts.assume_role(
5452
RoleArn=assume_role, RoleSessionName="SagemakerExecution"

tests/integ/test_feature_store.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,6 +1087,7 @@ def test_get_feature_group_with_role_region(
10871087
event_time_feature_name="feature3",
10881088
latest_ingestion=True,
10891089
athena_bucket=f"{offline_store_s3_uri}/query",
1090+
verbose=False,
10901091
)
10911092

10921093
assert not dataset.empty
@@ -1124,6 +1125,7 @@ def test_get_feature_group_with_session(
11241125
event_time_feature_name="feature3",
11251126
latest_ingestion=True,
11261127
athena_bucket=f"{offline_store_s3_uri}/query",
1128+
verbose=False,
11271129
low_memory=False,
11281130
) # Using kwargs to pass a parameter to pandas.read_csv
11291131

0 commit comments

Comments
 (0)