MCPcopy Index your code
hub / github.com/pyinvoke/invoke / __exit__

Method __exit__

invoke/runners.py:1677–1683  ·  view source on GitHub ↗
(
        self,
        exc_type: Optional[Type[BaseException]],
        exc_value: BaseException,
        exc_tb: Optional[TracebackType],
    )

Source from the content-addressed store, hash-verified

1675 return self
1676
1677 def __exit__(
1678 self,
1679 exc_type: Optional[Type[BaseException]],
1680 exc_value: BaseException,
1681 exc_tb: Optional[TracebackType],
1682 ) -> None:
1683 self.join()
1684
1685 def __repr__(self) -> str:
1686 return f"<Promise cmd={self.command!r}>"

Callers

nothing calls this directly

Calls 1

joinMethod · 0.95

Tested by

no test coverage detected