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
f1e88277
Commit
f1e88277
authored
Dec 27, 2023
by
Wei Shoulin
Browse files
generate coordinate search condition sql
parent
2e1a0f3b
Pipeline
#2781
passed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_dfs_proto/facility/level2/level2_pb2.py
View file @
f1e88277
...
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
...
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
from
...common
import
error_pb2
as
common_dot_error__pb2
from
...common
import
error_pb2
as
common_dot_error__pb2
DESCRIPTOR
=
_descriptor_pool
.
Default
().
AddSerializedFile
(
b
'
\n\x1c\x66\x61\x63
ility/level2/level2.proto
\x12\x13\x64\x66
s.facility.level2
\x1a\x12\x63
ommon/error.proto
\"\xd4\x02\n\x0c
Level2Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x11\n\t
level1_id
\x18\x03
\x01
(
\x03\x12\x10\n\x08\x62
rick_id
\x18\x04
\x01
(
\x03\x12\x11\n\t
module_id
\x18\x05
\x01
(
\t\x12\x13\n\x0b
object_name
\x18\x06
\x01
(
\t\x12\x11\n\t
data_type
\x18\x07
\x01
(
\t\x12\x10\n\x08\x66
ilename
\x18\x08
\x01
(
\t\x12\x11\n\t
file_path
\x18\t
\x01
(
\t\x12\x12\n\n
qc2_status
\x18\n
\x01
(
\x05\x12\x10\n\x08
qc2_time
\x18\x0b
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x0c
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\r
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x0e
\x01
(
\t\x12\x13\n\x0b
update_time
\x18\x0f
\x01
(
\t\x12\x13\n\x0b
pipeline_id
\x18\x10
\x01
(
\t\x12\x15\n\r
import_status
\x18\x11
\x01
(
\x05\"\xaf\x03\n\r
FindLevel2Req
\x12\x11\n\t
level0_id
\x18\x01
\x01
(
\t\x12\x11\n\t
level1_id
\x18\x02
\x01
(
\x03\x12\x10\n\x08\x62
rick_id
\x18\x03
\x01
(
\x03\x12\x11\n\t
data_type
\x18\x04
\x01
(
\t\x12\x11\n\t
module_id
\x18\x05
\x01
(
\t\x12\x19\n\x11\x63
reate_time_start
\x18\x06
\x01
(
\t\x12\x17\n\x0f\x63
reate_time_end
\x18\x07
\x01
(
\t\x12\x12\n\n
qc2_status
\x18\x08
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\t
\x01
(
\x05\x12\x15\n\r
import_status
\x18\n
\x01
(
\x05\x12\x10\n\x08\x66
ilename
\x18\x0b
\x01
(
\t\x12\x13\n\x0b
object_name
\x18\x0c
\x01
(
\t\x12\r\n\x05
limit
\x18\r
\x01
(
\x05\x12\x0c\n\x04
page
\x18\x0e
\x01
(
\x05\x12
Q
\n\x10
other_conditions
\x18\x0f
\x03
(
\x0b\x32\x37
.dfs.facility.level2.FindLevel2Req.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x87\x01\n\x0e\x46
indLevel2Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x32\n\x07
records
\x18\x04
\x03
(
\x0b\x32
!.dfs.facility.level2.Level2Record
\"\x1a\n\x0c
GetLevel2Req
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
B
\n\r
GetLevel2Resp
\x12\x31\n\x06
record
\x18\x01
\x01
(
\x0b\x32
!.dfs.facility.level2.Level2Record
\"
Q
\n\x0e
WriteLevel2Req
\x12\x31\n\x06
record
\x18\x01
\x01
(
\x0b\x32
!.dfs.facility.level2.Level2Record
\x12\x0c\n\x04\x64\x61
ta
\x18\x02
\x01
(
\x0c\"
s
\n\x0f
WriteLevel2Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x31\n\x06
record
\x18\x03
\x01
(
\x0b\x32
!.dfs.facility.level2.Level2Record
\"
0
\n\x12
UpdateQc2StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
D
\n\x13
UpdateQc2StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
E
\n\x14
UpdateProcStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
2
\n\x14\x46
indLevel2CatalogReq
\x12\x0b\n\x03
sql
\x18\x01
\x01
(
\t\x12\r\n\x05
limit
\x18\x02
\x01
(
\x05\"
k
\n\x15\x46
indLevel2CatalogResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x0f\n\x07
records
\x18\x04
\x01
(
\x0c\"
)
\n\x14\x46
indExistedBricksReq
\x12\x11\n\t
data_type
\x18\x01
\x01
(
\t\"
Y
\n\x15\x46
indExistedBricksResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x11\n\t
brick_ids
\x18\x03
\x03
(
\x05\"\x19\n\n
ExecSQLReq
\x12\x0b\n\x03
sql
\x18\x01
\x01
(
\t\"
P
\n\x0b\x45
xecSQLResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
2
\x81
\x06\n\t
Level2Srv
\x12
Q
\n\x04\x46
ind
\x12\"
.dfs.facility.level2.FindLevel2Req
\x1a
#.dfs.facility.level2.FindLevel2Resp
\"\x00\x12
h
\n\x0b\x46
indCatalog
\x12
).dfs.facility.level2.FindLevel2CatalogReq
\x1a
*.dfs.facility.level2.FindLevel2CatalogResp
\"\x00\x30\x01\x12
l
\n\x11\x46
indExistedBricks
\x12
).dfs.facility.level2.FindExistedBricksReq
\x1a
*.dfs.facility.level2.FindExistedBricksResp
\"\x00\x12
N
\n\x03
Get
\x12
!.dfs.facility.level2.GetLevel2Req
\x1a\"
.dfs.facility.level2.GetLevel2Resp
\"\x00\x12
V
\n\x05
Write
\x12
#.dfs.facility.level2.WriteLevel2Req
\x1a
$.dfs.facility.level2.WriteLevel2Resp
\"\x00
(
\x01\x12\x66\n\x0f
UpdateQc2Status
\x12\'
.dfs.facility.level2.UpdateQc2StatusReq
\x1a
(.dfs.facility.level2.UpdateQc2StatusResp
\"\x00\x12
i
\n\x10
UpdateProcStatus
\x12
(.dfs.facility.level2.UpdateProcStatusReq
\x1a
).dfs.facility.level2.UpdateProcStatusResp
\"\x00\x12
N
\n\x07\x45
xecSQL
\x12\x1f
.dfs.facility.level2.ExecSQLReq
\x1a
.dfs.facility.level2.ExecSQLResp
\"\x00\x42
&Z$cnlab.net/csst/proto/facility/level2b
\x06
proto3'
)
DESCRIPTOR
=
_descriptor_pool
.
Default
().
AddSerializedFile
(
b
'
\n\x1c\x66\x61\x63
ility/level2/level2.proto
\x12\x13\x64\x66
s.facility.level2
\x1a\x12\x63
ommon/error.proto
\"\xd4\x02\n\x0c
Level2Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x11\n\t
level1_id
\x18\x03
\x01
(
\x03\x12\x10\n\x08\x62
rick_id
\x18\x04
\x01
(
\x03\x12\x11\n\t
module_id
\x18\x05
\x01
(
\t\x12\x13\n\x0b
object_name
\x18\x06
\x01
(
\t\x12\x11\n\t
data_type
\x18\x07
\x01
(
\t\x12\x10\n\x08\x66
ilename
\x18\x08
\x01
(
\t\x12\x11\n\t
file_path
\x18\t
\x01
(
\t\x12\x12\n\n
qc2_status
\x18\n
\x01
(
\x05\x12\x10\n\x08
qc2_time
\x18\x0b
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x0c
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\r
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x0e
\x01
(
\t\x12\x13\n\x0b
update_time
\x18\x0f
\x01
(
\t\x12\x13\n\x0b
pipeline_id
\x18\x10
\x01
(
\t\x12\x15\n\r
import_status
\x18\x11
\x01
(
\x05\"\xaf\x03\n\r
FindLevel2Req
\x12\x11\n\t
level0_id
\x18\x01
\x01
(
\t\x12\x11\n\t
level1_id
\x18\x02
\x01
(
\x03\x12\x10\n\x08\x62
rick_id
\x18\x03
\x01
(
\x03\x12\x11\n\t
data_type
\x18\x04
\x01
(
\t\x12\x11\n\t
module_id
\x18\x05
\x01
(
\t\x12\x19\n\x11\x63
reate_time_start
\x18\x06
\x01
(
\t\x12\x17\n\x0f\x63
reate_time_end
\x18\x07
\x01
(
\t\x12\x12\n\n
qc2_status
\x18\x08
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\t
\x01
(
\x05\x12\x15\n\r
import_status
\x18\n
\x01
(
\x05\x12\x10\n\x08\x66
ilename
\x18\x0b
\x01
(
\t\x12\x13\n\x0b
object_name
\x18\x0c
\x01
(
\t\x12\r\n\x05
limit
\x18\r
\x01
(
\x05\x12\x0c\n\x04
page
\x18\x0e
\x01
(
\x05\x12
Q
\n\x10
other_conditions
\x18\x0f
\x03
(
\x0b\x32\x37
.dfs.facility.level2.FindLevel2Req.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x87\x01\n\x0e\x46
indLevel2Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x32\n\x07
records
\x18\x04
\x03
(
\x0b\x32
!.dfs.facility.level2.Level2Record
\"\x1a\n\x0c
GetLevel2Req
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
B
\n\r
GetLevel2Resp
\x12\x31\n\x06
record
\x18\x01
\x01
(
\x0b\x32
!.dfs.facility.level2.Level2Record
\"
Q
\n\x0e
WriteLevel2Req
\x12\x31\n\x06
record
\x18\x01
\x01
(
\x0b\x32
!.dfs.facility.level2.Level2Record
\x12\x0c\n\x04\x64\x61
ta
\x18\x02
\x01
(
\x0c\"
s
\n\x0f
WriteLevel2Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x31\n\x06
record
\x18\x03
\x01
(
\x0b\x32
!.dfs.facility.level2.Level2Record
\"
0
\n\x12
UpdateQc2StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
D
\n\x13
UpdateQc2StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
E
\n\x14
UpdateProcStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
2
\n\x14\x46
indLevel2CatalogReq
\x12\x0b\n\x03
sql
\x18\x01
\x01
(
\t\x12\r\n\x05
limit
\x18\x02
\x01
(
\x05\"
k
\n\x15\x46
indLevel2CatalogResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x0f\n\x07
records
\x18\x04
\x01
(
\x0c\"
)
\n\x14\x46
indExistedBricksReq
\x12\x11\n\t
data_type
\x18\x01
\x01
(
\t\"
Y
\n\x15\x46
indExistedBricksResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x11\n\t
brick_ids
\x18\x03
\x03
(
\x05\"\x19\n\n
ExecSQLReq
\x12\x0b\n\x03
sql
\x18\x01
\x01
(
\t\"
P
\n\x0b\x45
xecSQLResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\"
J
\n\x0c\x43
oordCondReq
\x12\x11\n\t
data_type
\x18\x01
\x01
(
\t\x12\n\n\x02
ra
\x18\x02
\x01
(
\x01\x12\x0b\n\x03\x64\x65\x63\x18\x03
\x01
(
\x01\x12\x0e\n\x06
radius
\x18\x04
\x01
(
\x01\"
e
\n\r
CoordCondResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x11\n\t
condition
\x18\x04
\x01
(
\t
2
\xd7
\x06\n\t
Level2Srv
\x12
Q
\n\x04\x46
ind
\x12\"
.dfs.facility.level2.FindLevel2Req
\x1a
#.dfs.facility.level2.FindLevel2Resp
\"\x00\x12
h
\n\x0b\x46
indCatalog
\x12
).dfs.facility.level2.FindLevel2CatalogReq
\x1a
*.dfs.facility.level2.FindLevel2CatalogResp
\"\x00\x30\x01\x12
l
\n\x11\x46
indExistedBricks
\x12
).dfs.facility.level2.FindExistedBricksReq
\x1a
*.dfs.facility.level2.FindExistedBricksResp
\"\x00\x12
N
\n\x03
Get
\x12
!.dfs.facility.level2.GetLevel2Req
\x1a\"
.dfs.facility.level2.GetLevel2Resp
\"\x00\x12
V
\n\x05
Write
\x12
#.dfs.facility.level2.WriteLevel2Req
\x1a
$.dfs.facility.level2.WriteLevel2Resp
\"\x00
(
\x01\x12\x66\n\x0f
UpdateQc2Status
\x12\'
.dfs.facility.level2.UpdateQc2StatusReq
\x1a
(.dfs.facility.level2.UpdateQc2StatusResp
\"\x00\x12
i
\n\x10
UpdateProcStatus
\x12
(.dfs.facility.level2.UpdateProcStatusReq
\x1a
).dfs.facility.level2.UpdateProcStatusResp
\"\x00\x12
N
\n\x07\x45
xecSQL
\x12\x1f
.dfs.facility.level2.ExecSQLReq
\x1a
.dfs.facility.level2.ExecSQLResp
\"\x00\
x12
T
\n\t
CoordCond
\x12
!.dfs.facility.level2.CoordCondReq
\x1a\"
.dfs.facility.level2.CoordCondResp
\"\x00\
x42
&Z$cnlab.net/csst/proto/facility/level2b
\x06
proto3'
)
_builder
.
BuildMessageAndEnumDescriptors
(
DESCRIPTOR
,
globals
())
_builder
.
BuildMessageAndEnumDescriptors
(
DESCRIPTOR
,
globals
())
_builder
.
BuildTopDescriptorsAndMessages
(
DESCRIPTOR
,
'facility.level2.level2_pb2'
,
globals
())
_builder
.
BuildTopDescriptorsAndMessages
(
DESCRIPTOR
,
'facility.level2.level2_pb2'
,
globals
())
...
@@ -60,6 +60,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
...
@@ -60,6 +60,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
_EXECSQLREQ
.
_serialized_end
=
1846
_EXECSQLREQ
.
_serialized_end
=
1846
_EXECSQLRESP
.
_serialized_start
=
1848
_EXECSQLRESP
.
_serialized_start
=
1848
_EXECSQLRESP
.
_serialized_end
=
1928
_EXECSQLRESP
.
_serialized_end
=
1928
_LEVEL2SRV
.
_serialized_start
=
1931
_COORDCONDREQ
.
_serialized_start
=
1930
_LEVEL2SRV
.
_serialized_end
=
2700
_COORDCONDREQ
.
_serialized_end
=
2004
_COORDCONDRESP
.
_serialized_start
=
2006
_COORDCONDRESP
.
_serialized_end
=
2107
_LEVEL2SRV
.
_serialized_start
=
2110
_LEVEL2SRV
.
_serialized_end
=
2965
# @@protoc_insertion_point(module_scope)
# @@protoc_insertion_point(module_scope)
csst_dfs_proto/facility/level2/level2_pb2_grpc.py
View file @
f1e88277
...
@@ -54,6 +54,11 @@ class Level2SrvStub(object):
...
@@ -54,6 +54,11 @@ class Level2SrvStub(object):
request_serializer
=
facility_dot_level2_dot_level2__pb2
.
ExecSQLReq
.
SerializeToString
,
request_serializer
=
facility_dot_level2_dot_level2__pb2
.
ExecSQLReq
.
SerializeToString
,
response_deserializer
=
facility_dot_level2_dot_level2__pb2
.
ExecSQLResp
.
FromString
,
response_deserializer
=
facility_dot_level2_dot_level2__pb2
.
ExecSQLResp
.
FromString
,
)
)
self
.
CoordCond
=
channel
.
unary_unary
(
'/dfs.facility.level2.Level2Srv/CoordCond'
,
request_serializer
=
facility_dot_level2_dot_level2__pb2
.
CoordCondReq
.
SerializeToString
,
response_deserializer
=
facility_dot_level2_dot_level2__pb2
.
CoordCondResp
.
FromString
,
)
class
Level2SrvServicer
(
object
):
class
Level2SrvServicer
(
object
):
...
@@ -107,6 +112,12 @@ class Level2SrvServicer(object):
...
@@ -107,6 +112,12 @@ class Level2SrvServicer(object):
context
.
set_details
(
'Method not implemented!'
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
CoordCond
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file."""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
add_Level2SrvServicer_to_server
(
servicer
,
server
):
def
add_Level2SrvServicer_to_server
(
servicer
,
server
):
rpc_method_handlers
=
{
rpc_method_handlers
=
{
...
@@ -150,6 +161,11 @@ def add_Level2SrvServicer_to_server(servicer, server):
...
@@ -150,6 +161,11 @@ def add_Level2SrvServicer_to_server(servicer, server):
request_deserializer
=
facility_dot_level2_dot_level2__pb2
.
ExecSQLReq
.
FromString
,
request_deserializer
=
facility_dot_level2_dot_level2__pb2
.
ExecSQLReq
.
FromString
,
response_serializer
=
facility_dot_level2_dot_level2__pb2
.
ExecSQLResp
.
SerializeToString
,
response_serializer
=
facility_dot_level2_dot_level2__pb2
.
ExecSQLResp
.
SerializeToString
,
),
),
'CoordCond'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
CoordCond
,
request_deserializer
=
facility_dot_level2_dot_level2__pb2
.
CoordCondReq
.
FromString
,
response_serializer
=
facility_dot_level2_dot_level2__pb2
.
CoordCondResp
.
SerializeToString
,
),
}
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'dfs.facility.level2.Level2Srv'
,
rpc_method_handlers
)
'dfs.facility.level2.Level2Srv'
,
rpc_method_handlers
)
...
@@ -295,3 +311,20 @@ class Level2Srv(object):
...
@@ -295,3 +311,20 @@ class Level2Srv(object):
facility_dot_level2_dot_level2__pb2
.
ExecSQLResp
.
FromString
,
facility_dot_level2_dot_level2__pb2
.
ExecSQLResp
.
FromString
,
options
,
channel_credentials
,
options
,
channel_credentials
,
insecure
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
insecure
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
CoordCond
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
insecure
=
False
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.facility.level2.Level2Srv/CoordCond'
,
facility_dot_level2_dot_level2__pb2
.
CoordCondReq
.
SerializeToString
,
facility_dot_level2_dot_level2__pb2
.
CoordCondResp
.
FromString
,
options
,
channel_credentials
,
insecure
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
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