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

Function provision_engine

sdk/python/src/dagger/provisioning/_engine.py:30–35  ·  view source on GitHub ↗

Provision a new engine session.

(cfg: Config)

Source from the content-addressed store, hash-verified

28
29@contextlib.asynccontextmanager
30async def provision_engine(cfg: Config):
31 """Provision a new engine session."""
32 async with contextlib.AsyncExitStack() as stack:
33 logger.debug("Provisioning engine")
34 yield await Engine(cfg, stack).provision()
35 logger.debug("Closing engine provisioning")
36
37
38class Engine:

Callers 2

_setupMethod · 0.90
connectionFunction · 0.85

Calls 3

provisionMethod · 0.80
EngineClass · 0.70
debugMethod · 0.45

Tested by 1

_setupMethod · 0.72