Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dagger/dagger
/ test_no_object_id
Function
test_no_object_id
sdk/python/tests/client/test_inputs.py:103–105 ·
view source on GitHub ↗
(client: Client)
Source
from the content-addressed store, hash-verified
101
102
103
def
test_no_object_id(client: Client):
104
with
pytest.raises(TypeError):
105
client.container().with_file(
"a"
, FileID(
"fileid"
))
106
107
108
@pytest.mark.anyio
Callers
nothing calls this directly
Calls
3
FileID
Class · 0.70
with_file
Method · 0.45
container
Method · 0.45
Tested by
no test coverage detected