MCPcopy Create free account
hub / github.com/pyinvoke/invoke / _repr

Method _repr

invoke/exceptions.py:138–140  ·  view source on GitHub ↗
(self, **kwargs: Any)

Source from the content-addressed store, hash-verified

136 return template.format(command, exited, stdout, stderr)
137
138 def _repr(self, **kwargs: Any) -> str:
139 kwargs.setdefault("exited", self.result.exited)
140 return super()._repr(**kwargs)
141
142
143class CommandTimedOut(Failure):

Callers

nothing calls this directly

Calls 2

setdefaultMethod · 0.45
_reprMethod · 0.45

Tested by

no test coverage detected