Skip to content

Commit 673cf78

Browse files
committed
fix more flake8
1 parent 5e48f56 commit 673cf78

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/sagemaker/feature_store/dataset_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ def _construct_query_string(self, base: FeatureGroupToBeMerged) -> str:
929929
selected_features += ", "
930930
selected_features += ", ".join(
931931
[
932-
f'fg_{i}."{feature_name}" as "{feature_name}.{(i+1)}"'
932+
f'fg_{i}."{feature_name}" as "{feature_name}.{(i + 1)}"'
933933
for feature_name in feature_group.projected_feature_names
934934
]
935935
)

tests/unit/test_predictor_async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def test_async_predict_call_verify_exceptions():
233233
with pytest.raises(
234234
PollingTimeoutError,
235235
match=f"No result at {ASYNC_OUTPUT_LOCATION} after polling for "
236-
f"{DEFAULT_WAITER_CONFIG.delay*DEFAULT_WAITER_CONFIG.max_attempts}"
236+
f"{DEFAULT_WAITER_CONFIG.delay * DEFAULT_WAITER_CONFIG.max_attempts}"
237237
f" seconds. Inference could still be running",
238238
):
239239
predictor_async.predict(input_path=input_location, waiter_config=DEFAULT_WAITER_CONFIG)
@@ -253,7 +253,7 @@ def test_async_predict_call_verify_exceptions_with_null_failure_path():
253253
with pytest.raises(
254254
PollingTimeoutError,
255255
match=f"No result at {ASYNC_OUTPUT_LOCATION} after polling for "
256-
f"{DEFAULT_WAITER_CONFIG.delay*DEFAULT_WAITER_CONFIG.max_attempts}"
256+
f"{DEFAULT_WAITER_CONFIG.delay * DEFAULT_WAITER_CONFIG.max_attempts}"
257257
f" seconds. Inference could still be running",
258258
):
259259
predictor_async.predict(input_path=input_location, waiter_config=DEFAULT_WAITER_CONFIG)

0 commit comments

Comments
 (0)