pymoose.computation
pymoose.computation#
- pymoose.computation(func=None, role_map=None)[source]#
Annotates a Python function as a Moose computation.
- Parameters
func – A Callable.
role_map – A map of abstract placements to identities in the current runtime context.
- Returns
An abstract Moose computation that can be invoked in a runtime context.