Esempio n. 1
0
def create(board_id):
    try:
        crud = CrudService()
        board = create_board_object(board_id)
        print(crud.create(board))
    except grpc.RpcError as err:
        print("Set failed")
        print(err.details)
Esempio n. 2
0
def create(board_id):
    try:
        crud = CrudService()
        tommap = create_tom_map(board_id)
        print(crud.create(tommap))
    except grpc.RpcError as err:
        print("Set failed")
        print(err.details)
Esempio n. 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)