MCPcopy Create free account
hub / github.com/dagger/dagger / _wait

Method _wait

sdk/python/src/dagger/provisioning/_session.py:67–72  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

65 raise
66
67 def _wait(self):
68 # avoids raise-within-try (TRY301)
69 if self.proc.wait(self.timeout):
70 # non-zero exit code
71 msg = make_process_error_msg(self.proc, None, None)
72 raise SessionError(msg)
73
74
75@contextlib.contextmanager

Callers 1

__exit__Method · 0.95

Calls 3

make_process_error_msgFunction · 0.85
SessionErrorClass · 0.85
waitMethod · 0.45

Tested by

no test coverage detected