transactional

lsst.daf.butler.core.utils.transactional(func: Callable) → Callable

Decorator that wraps a method and makes it transactional.

This depends on the class also defining a transaction method that takes no arguments and acts as a context manager.