transactional#
- lsst.daf.butler.utils.transactional(func: F) F#
Decorate a method and makes it transactional.
This depends on the class also defining a
transactionmethod that takes no arguments and acts as a context manager.Parameters#
- func
Callable Method to decorate.
Returns#
- decorated
Callable The decorated method.
- func