Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dagger/dagger
/ directory
Method
directory
sdk/python/tests/client/test_inputs.py:24–25 ·
view source on GitHub ↗
(self, id: DirectoryID | None = None)
Source
from the content-addressed store, hash-verified
22
23
@typecheck
24
def
directory(self, id: DirectoryID | None = None) ->
"Directory"
:
25
return
Directory(self._ctx)
26
27
@typecheck
28
def
file(self, id: FileID) ->
"File"
:
Callers
14
test_id
Function · 0.45
test_id_instance
Function · 0.45
test_wrong_id_type
Function · 0.45
test_object
Function · 0.45
test_wrong_object
Function · 0.45
test_await
Function · 0.45
test_is_id_type
Function · 0.45
test_is_id_type_sequence
Function · 0.45
test_input_arg
Function · 0.45
test_container_with_mounted_directory
Function · 0.45
test_directory
Function · 0.45
test_host_directory
Function · 0.45
Calls
1
Directory
Class · 0.70
Tested by
no test coverage detected