Closed mortendahl closed 2 years ago
Concretely, GrpcMooseRuntime takes the role assignment in the constructor instead of in evaluate_computation. So
GrpcMooseRuntime
evaluate_computation
storage_rep = { ... } runtime_rep = LocalMooseRuntime( storage_mapping=storage_rep, ) _ = runtime_rep.evaluate_computation( role_assignment={"alice": "alice", "bob": "bob", "carole": "carole"}, ... )
should become
storage_rep = { ... } runtime_rep = LocalMooseRuntime( storage_mapping=storage_rep, role_assignment={"alice": "alice", "bob": "bob", "carole": "carole"}, ) _ = runtime_rep.evaluate_computation( ... )
Concretely,
GrpcMooseRuntime
takes the role assignment in the constructor instead of inevaluate_computation
. Soshould become