Closed mortendahl closed 2 years ago
Instead of (0)
runtime = pm.GrpcMooseRuntime({ ... }) results = runtime.evaluate_computation(my_computation)
we could do something like (1)
runtime = pm.GrpcMooseRuntime({ ... }) with runtime: results = my_computation()
and/or (2)
runtime = pm.GrpcMooseRuntime({ ... }) results = my_computation(runtime)
and/or (3)
runtime = pm.GrpcMooseRuntime({ ... }) runtime.set_default() results = my_computation()
and/or (4) which is (3) with an implicit call to set_default
set_default
runtime = pm.GrpcMooseRuntime({ ... }) results = my_computation()
This issue should also make it easier to pass in arguments!
Instead of (0)
we could do something like (1)
and/or (2)
and/or (3)
and/or (4) which is (3) with an implicit call to
set_default
This issue should also make it easier to pass in arguments!