Commit 01d770ad authored by Wei Shoulin's avatar Wei Shoulin
Browse files

add level0_id

parent 96b3dfd8
...@@ -23,6 +23,7 @@ class Level2DataApi(object): ...@@ -23,6 +23,7 @@ class Level2DataApi(object):
parameter kwargs: parameter kwargs:
level0_id: [str] level0_id: [str]
level1_id: [int]
data_type: [str] data_type: [str]
create_time : (start, end), create_time : (start, end),
qc2_status : [int], qc2_status : [int],
...@@ -34,6 +35,7 @@ class Level2DataApi(object): ...@@ -34,6 +35,7 @@ class Level2DataApi(object):
''' '''
try: try:
resp, _ = self.stub.Find.with_call(level2_pb2.FindLevel2Req( resp, _ = self.stub.Find.with_call(level2_pb2.FindLevel2Req(
level0_id = get_parameter(kwargs, "level0_id"),
level1_id = get_parameter(kwargs, "level1_id"), level1_id = get_parameter(kwargs, "level1_id"),
data_type = get_parameter(kwargs, "data_type"), data_type = get_parameter(kwargs, "data_type"),
create_time_start = get_parameter(kwargs, "create_time", [None, None])[0], create_time_start = get_parameter(kwargs, "create_time", [None, None])[0],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment