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

Method stdout

sdk/python/src/dagger/client/gen.py:2628–2649  ·  view source on GitHub ↗

The buffered standard output stream of the last executed command Returns an error if no command was executed Returns ------- str The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is mo

(self)

Source from the content-addressed store, hash-verified

2626 return await _ctx.execute(str)
2627
2628 async def stdout(self) -> str:
2629 """The buffered standard output stream of the last executed command
2630
2631 Returns an error if no command was executed
2632
2633 Returns
2634 -------
2635 str
2636 The `String` scalar type represents textual data, represented as
2637 UTF-8 character sequences. The String type is most often used by
2638 GraphQL to represent free-form human-readable text.
2639
2640 Raises
2641 ------
2642 ExecuteTimeoutError
2643 If the time to execute the query exceeds the configured timeout.
2644 QueryError
2645 If the API returns an error.
2646 """
2647 _args: list[Arg] = []
2648 _ctx = self._select("stdout", _args)
2649 return await _ctx.execute(str)
2650
2651 async def sync(self) -> Self:
2652 """Forces evaluation of the pipeline in the engine.

Callers 15

mainMethod · 0.95
mainMethod · 0.95
echoMethod · 0.45
echoMethod · 0.45
test_execute_timeoutFunction · 0.45
test_containerFunction · 0.45
test_container_buildFunction · 0.45
test_input_argFunction · 0.45
test_container_syncFunction · 0.45

Calls 2

_selectMethod · 0.80
executeMethod · 0.45

Tested by 15

test_execute_timeoutFunction · 0.36
test_containerFunction · 0.36
test_container_buildFunction · 0.36
test_input_argFunction · 0.36
test_container_syncFunction · 0.36
test_container_awaitableFunction · 0.36
test_service_start_stopFunction · 0.36