TransactionProtocol

class lsst.resources.utils.TransactionProtocol(*args, **kwargs)

Bases: Protocol

Protocol for type checking transaction interface.

Methods Summary

undoWith(name, undoFunc, *args, **kwargs)

Methods Documentation

undoWith(name: str, undoFunc: Callable, *args: Any, **kwargs: Any) Iterator[None]