Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dagger/dagger
/ connect
Method
connect
sdk/python/src/dagger/client/_session.py:168–170 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
166
session: ClientSession
167
168
async
def
connect(self) -> Self:
169
await self.session.start()
170
return
self
171
172
async
def
close(self) -> None:
173
await self.session.close()
Callers
7
__await__
Method · 0.95
__aenter__
Method · 0.95
main
Function · 0.45
test_connect_with_context_manager
Method · 0.45
test_connect_and_close
Method · 0.45
test_connect_and_global_close
Method · 0.45
setup
Function · 0.45
Calls
1
start
Method · 0.45
Tested by
3
test_connect_with_context_manager
Method · 0.36
test_connect_and_close
Method · 0.36
test_connect_and_global_close
Method · 0.36