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

Method export

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

Returns ------- str The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text. Raises ------ Execute

(self, path: str)

Source from the content-addressed store, hash-verified

609 return "Exportable"
610
611 async def export(self, path: str) -> str:
612 """Returns
613 -------
614 str
615 The `String` scalar type represents textual data, represented as
616 UTF-8 character sequences. The String type is most often used by
617 GraphQL to represent free-form human-readable text.
618
619 Raises
620 ------
621 ExecuteTimeoutError
622 If the time to execute the query exceeds the configured timeout.
623 QueryError
624 If the API returns an error.
625 """
626 _args = [
627 Arg("path", path),
628 ]
629 _ctx = self._select("export", _args)
630 return await _ctx.execute(str)
631
632 async def id(self) -> str:
633 """Note

Callers

nothing calls this directly

Calls 3

ArgClass · 0.90
_selectMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected