示例#1
0
def delete(board_id):
    try:
        crud = CrudService()
        board = create_board_object(board_id)
        print(crud.delete(board))
    except grpc.RpcError as err:
        print("Set failed")
        print(err.details)
示例#2
0
def delete(board_id):
    try:
        crud = CrudService()
        tommap = create_tom_map(board_id)
        print(crud.delete(tommap))
    except grpc.RpcError as err:
        print("Set failed")
        print(err.details)
示例#3
0
def create(dco_id):
    try:
        crud = CrudService()
        dcostate = create_dcostate_object(dco_id)
        print(crud.create(dcostate))
    except grpc.RpcError as err:
        print("Set failed")
        print(err.details)