Temporarily set the tracing status of a transform with a context manager.
(self, to_trace: bool)
| 402 | |
| 403 | @contextmanager |
| 404 | def trace_transform(self, to_trace: bool): |
| 405 | """Temporarily set the tracing status of a transform with a context manager.""" |
| 406 | prev = self.tracing |
| 407 | self.tracing = to_trace |
| 408 | yield |
| 409 | self.tracing = prev |
| 410 | |
| 411 | |
| 412 | class InvertibleTransform(TraceableTransform, InvertibleTrait): |
no outgoing calls
no test coverage detected