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

Method echo

dagql/idtui/viztest/python/src/main/__init__.py:14–17  ·  view source on GitHub ↗
(self, msg: str)

Source from the content-addressed store, hash-verified

12class Python:
13 @function
14 async def echo(self, msg: str) -> str:
15 return await (
16 dag.container().from_("alpine:latest").with_exec(["echo", msg]).stdout()
17 )
18
19 @function
20 async def custom_span(self) -> str:

Callers 1

custom_spanMethod · 0.95

Calls 4

from_Method · 0.80
stdoutMethod · 0.45
with_execMethod · 0.45
containerMethod · 0.45

Tested by

no test coverage detected