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

Method id

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

Note ---- This is lazily evaluated, no operation is actually run. Returns ------- str The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON

(self)

Source from the content-addressed store, hash-verified

670 return "Node"
671
672 async def id(self) -> str:
673 """Note
674 ----
675 This is lazily evaluated, no operation is actually run.
676
677 Returns
678 -------
679 str
680 The `ID` scalar type represents a unique identifier, often used to
681 refetch an object or as key for a cache. The ID type appears in a
682 JSON response as a String; however, it is not intended to be
683 human-readable. When expected as an input type, any string (such
684 as `"4"`) or integer (such as `4`) input value will be accepted as
685 an ID.
686
687 Raises
688 ------
689 ExecuteTimeoutError
690 If the time to execute the query exceeds the configured timeout.
691 QueryError
692 If the API returns an error.
693 """
694 _args: list[Arg] = []
695 _ctx = self._select("id", _args)
696 return await _ctx.execute(str)
697
698
699@runtime_checkable

Callers

nothing calls this directly

Calls 2

_selectMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected