MCPcopy
hub / github.com/IBM/AssetOpsBench / _set

Function _set

src/mcphub/__init__.py:147–150  ·  view source on GitHub ↗
(fut, value, error=False)

Source from the content-addressed store, hash-verified

145
146
147def _set(fut, value, error=False):
148 if fut.done():
149 return
150 fut.set_exception(value) if error else fut.set_result(value)
151
152
153class ToolUniverse:

Callers 1

_runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected