File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
from common .hopsworks_client import HopsworksClient
2
2
3
3
if __name__ == "__main__" :
4
-
5
4
hopsworks_client = HopsworksClient ()
6
5
fg = hopsworks_client .get_or_create_fg ()
7
6
hopsworks_client .insert_data (fg )
Original file line number Diff line number Diff line change @@ -291,7 +291,9 @@ def _send_inference_request_via_grpc_protocol(
291
291
# the channel, which will be reused in all following calls on the same deployment object.
292
292
# The gRPC channel is freed when calling deployment.stop()
293
293
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
+ )
295
297
# build an infer request
296
298
request = InferRequest (
297
299
infer_inputs = data ,
Original file line number Diff line number Diff line change @@ -318,4 +318,3 @@ def parse_isoformat_date(da: str) -> datetime:
318
318
sys .exit (1 )
319
319
320
320
sys .exit (0 )
321
-
You can’t perform that action at this time.
0 commit comments