Skip to content

Commit 34e61f1

Browse files
author
Build System
committed
'Protobuf files change'
1 parent cf85b3f commit 34e61f1

File tree

2 files changed

+37
-2
lines changed

2 files changed

+37
-2
lines changed

src/systemathics/apis/services/intraday/v1/intraday_bars_pb2.py

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/systemathics/apis/services/intraday/v1/intraday_bars_pb2_grpc.py

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ def __init__(self, channel):
2020
request_serializer=systemathics_dot_apis_dot_services_dot_intraday_dot_v1_dot_intraday__bars__pb2.IntradayBarsRequest.SerializeToString,
2121
response_deserializer=systemathics_dot_apis_dot_services_dot_intraday_dot_v1_dot_intraday__bars__pb2.IntradayBarsResponse.FromString,
2222
)
23+
self.IntradayBarsStream = channel.unary_stream(
24+
'/systemathics.apis.services.intraday.v1.IntradayBarsService/IntradayBarsStream',
25+
request_serializer=systemathics_dot_apis_dot_services_dot_intraday_dot_v1_dot_intraday__bars__pb2.IntradayBarsRequest.SerializeToString,
26+
response_deserializer=systemathics_dot_apis_dot_services_dot_intraday_dot_v1_dot_intraday__bars__pb2.IntradayBar.FromString,
27+
)
2328

2429

2530
class IntradayBarsServiceServicer(object):
@@ -33,6 +38,12 @@ def IntradayBars(self, request, context):
3338
context.set_details('Method not implemented!')
3439
raise NotImplementedError('Method not implemented!')
3540

41+
def IntradayBarsStream(self, request, context):
42+
"""Missing associated documentation comment in .proto file."""
43+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
44+
context.set_details('Method not implemented!')
45+
raise NotImplementedError('Method not implemented!')
46+
3647

3748
def add_IntradayBarsServiceServicer_to_server(servicer, server):
3849
rpc_method_handlers = {
@@ -41,6 +52,11 @@ def add_IntradayBarsServiceServicer_to_server(servicer, server):
4152
request_deserializer=systemathics_dot_apis_dot_services_dot_intraday_dot_v1_dot_intraday__bars__pb2.IntradayBarsRequest.FromString,
4253
response_serializer=systemathics_dot_apis_dot_services_dot_intraday_dot_v1_dot_intraday__bars__pb2.IntradayBarsResponse.SerializeToString,
4354
),
55+
'IntradayBarsStream': grpc.unary_stream_rpc_method_handler(
56+
servicer.IntradayBarsStream,
57+
request_deserializer=systemathics_dot_apis_dot_services_dot_intraday_dot_v1_dot_intraday__bars__pb2.IntradayBarsRequest.FromString,
58+
response_serializer=systemathics_dot_apis_dot_services_dot_intraday_dot_v1_dot_intraday__bars__pb2.IntradayBar.SerializeToString,
59+
),
4460
}
4561
generic_handler = grpc.method_handlers_generic_handler(
4662
'systemathics.apis.services.intraday.v1.IntradayBarsService', rpc_method_handlers)
@@ -68,3 +84,20 @@ def IntradayBars(request,
6884
systemathics_dot_apis_dot_services_dot_intraday_dot_v1_dot_intraday__bars__pb2.IntradayBarsResponse.FromString,
6985
options, channel_credentials,
7086
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
87+
88+
@staticmethod
89+
def IntradayBarsStream(request,
90+
target,
91+
options=(),
92+
channel_credentials=None,
93+
call_credentials=None,
94+
insecure=False,
95+
compression=None,
96+
wait_for_ready=None,
97+
timeout=None,
98+
metadata=None):
99+
return grpc.experimental.unary_stream(request, target, '/systemathics.apis.services.intraday.v1.IntradayBarsService/IntradayBarsStream',
100+
systemathics_dot_apis_dot_services_dot_intraday_dot_v1_dot_intraday__bars__pb2.IntradayBarsRequest.SerializeToString,
101+
systemathics_dot_apis_dot_services_dot_intraday_dot_v1_dot_intraday__bars__pb2.IntradayBar.FromString,
102+
options, channel_credentials,
103+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)

0 commit comments

Comments
 (0)