Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-dfs
csst-dfs-proto-py
Commits
5e30dd33
Commit
5e30dd33
authored
Nov 23, 2022
by
Wei Shoulin
Browse files
add catalog_query_file
parent
57fc4a09
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
csst_dfs_proto/msc/level2/level2_pb2.py
View file @
5e30dd33
This diff is collapsed.
Click to expand it.
csst_dfs_proto/msc/level2/level2_pb2_grpc.py
View file @
5e30dd33
...
...
@@ -24,6 +24,11 @@ class Level2SrvStub(object):
request_serializer
=
msc_dot_level2_dot_level2__pb2
.
FindLevel2CatalogReq
.
SerializeToString
,
response_deserializer
=
msc_dot_level2_dot_level2__pb2
.
FindLevel2CatalogResp
.
FromString
,
)
self
.
FindCatalogFile
=
channel
.
unary_unary
(
'/dfs.msc.level2.Level2Srv/FindCatalogFile'
,
request_serializer
=
msc_dot_level2_dot_level2__pb2
.
FindLevel2CatalogReq
.
SerializeToString
,
response_deserializer
=
msc_dot_level2_dot_level2__pb2
.
FindCatalogFileResp
.
FromString
,
)
self
.
Get
=
channel
.
unary_unary
(
'/dfs.msc.level2.Level2Srv/Get'
,
request_serializer
=
msc_dot_level2_dot_level2__pb2
.
GetLevel2Req
.
SerializeToString
,
...
...
@@ -69,6 +74,13 @@ class Level2SrvServicer(object):
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
FindCatalogFile
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Get
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
...
...
@@ -117,6 +129,11 @@ def add_Level2SrvServicer_to_server(servicer, server):
request_deserializer
=
msc_dot_level2_dot_level2__pb2
.
FindLevel2CatalogReq
.
FromString
,
response_serializer
=
msc_dot_level2_dot_level2__pb2
.
FindLevel2CatalogResp
.
SerializeToString
,
),
'FindCatalogFile'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
FindCatalogFile
,
request_deserializer
=
msc_dot_level2_dot_level2__pb2
.
FindLevel2CatalogReq
.
FromString
,
response_serializer
=
msc_dot_level2_dot_level2__pb2
.
FindCatalogFileResp
.
SerializeToString
,
),
'Get'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Get
,
request_deserializer
=
msc_dot_level2_dot_level2__pb2
.
GetLevel2Req
.
FromString
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment