Skip to content

Commit f1f7cfd

Browse files
committed
Ruff
1 parent 2c454c4 commit f1f7cfd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

locust_benchmark/create_feature_group.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from common.hopsworks_client import HopsworksClient
22

33
if __name__ == "__main__":
4-
54
hopsworks_client = HopsworksClient()
65
fg = hopsworks_client.get_or_create_fg()
76
hopsworks_client.insert_data(fg)

python/hsml/core/serving_api.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,9 @@ def _send_inference_request_via_grpc_protocol(
291291
# the channel, which will be reused in all following calls on the same deployment object.
292292
# The gRPC channel is freed when calling deployment.stop()
293293
print("Initializing gRPC channel...")
294-
deployment_instance._grpc_channel = self._create_grpc_channel(deployment_instance)
294+
deployment_instance._grpc_channel = self._create_grpc_channel(
295+
deployment_instance
296+
)
295297
# build an infer request
296298
request = InferRequest(
297299
infer_inputs=data,

utils/python/hsfs_utils.py

-1
Original file line numberDiff line numberDiff line change
@@ -318,4 +318,3 @@ def parse_isoformat_date(da: str) -> datetime:
318318
sys.exit(1)
319319

320320
sys.exit(0)
321-

0 commit comments

Comments
 (0)