Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dagger/dagger
/ with_file
Method
with_file
sdk/python/tests/client/test_inputs.py:46–47 ·
view source on GitHub ↗
(self, path: str, source: "File")
Source
from the content-addressed store, hash-verified
44
45
@typecheck
46
def
with_file(self, path: str, source:
"File"
) ->
"Container"
:
47
return
Container(self._ctx)
48
49
50
class
Directory(Type):
Callers
2
test_wrong_object
Function · 0.45
test_no_object_id
Function · 0.45
Calls
1
Container
Class · 0.70
Tested by
no test coverage detected