(self)
| 65 | |
| 66 | @property |
| 67 | def _callback(self) -> tuple[Callable | None, ...]: |
| 68 | fields = ["_start", "_start_state", "_pretask", "_posttask", "_finish"] |
| 69 | return tuple(getattr(self, i, None) for i in fields) |
| 70 | |
| 71 | def __enter__(self): |
| 72 | self._cm = add_callbacks(self) |
nothing calls this directly
no outgoing calls
no test coverage detected