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

Method new_boolean

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

Encode a boolean to json Parameters ---------- value: New boolean value

(self, value: bool)

Source from the content-addressed store, hash-verified

10558 return await _ctx.execute(str)
10559
10560 def new_boolean(self, value: bool) -> Self:
10561 """Encode a boolean to json
10562
10563 Parameters
10564 ----------
10565 value:
10566 New boolean value
10567 """
10568 _args = [
10569 Arg("value", value),
10570 ]
10571 _ctx = self._select("newBoolean", _args)
10572 return JSONValue(_ctx)
10573
10574 def new_integer(self, value: int) -> Self:
10575 """Encode an integer to json

Callers

nothing calls this directly

Calls 3

ArgClass · 0.90
_selectMethod · 0.80
JSONValueClass · 0.70

Tested by

no test coverage detected