Commit 5e0687e4 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

rename msc mbi

parent 9b146a2e
from .level1 import Level1DataApi
from .level1prc import Level1PrcApi
from .level2 import Level2DataApi
\ No newline at end of file
from .level2 import Level2DataApi
from .level2co import Level2CoApi
\ No newline at end of file
......@@ -93,7 +93,7 @@ class Level1DataApi(object):
return Result.error(message=f"data not found")
return Result.ok_data(data = Level1Record().from_proto_model(resp.record))
except grpc.RpcError as e:
return Result.error(message="%s:%s" % (e.code().value, e.details()))
......@@ -143,7 +143,7 @@ class Level1DataApi(object):
def write(self, **kwargs):
''' insert a level1 record into database
parameter kwargs:
level0_id : [str]
data_type : [str]
......
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