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

Method parent

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

The value of the parent object of the function being called. If the function is top-level to the module, this is always an empty object. Returns ------- JSON An arbitrary JSON-encoded value. Raises ------ ExecuteTimeoutError

(self)

Source from the content-addressed store, hash-verified

8941 return await _ctx.execute(str)
8942
8943 async def parent(self) -> JSON:
8944 """The value of the parent object of the function being called. If the
8945 function is top-level to the module, this is always an empty object.
8946
8947 Returns
8948 -------
8949 JSON
8950 An arbitrary JSON-encoded value.
8951
8952 Raises
8953 ------
8954 ExecuteTimeoutError
8955 If the time to execute the query exceeds the configured timeout.
8956 QueryError
8957 If the API returns an error.
8958 """
8959 _args: list[Arg] = []
8960 _ctx = self._select("parent", _args)
8961 return await _ctx.execute(JSON)
8962
8963 async def parent_name(self) -> str:
8964 """The name of the parent object of the function being called. If the

Callers 6

invokeMethod · 0.80
entrypointFunction · 0.80
dispatchMethod · 0.80
doctum.jsFile · 0.80
eFunction · 0.80

Calls 2

_selectMethod · 0.80
executeMethod · 0.45

Tested by 1

dispatchMethod · 0.64