operation_context

class of dascore.utils.identity source

operation_context()

Run a block as the body of an operation.

A class rather than a generator: every patch function enters one, and contextlib.contextmanager costs about half a microsecond more.