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

Method new_integer

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

Encode an integer to json Parameters ---------- value: New integer value

(self, value: int)

Source from the content-addressed store, hash-verified

10572 return JSONValue(_ctx)
10573
10574 def new_integer(self, value: int) -> Self:
10575 """Encode an integer to json
10576
10577 Parameters
10578 ----------
10579 value:
10580 New integer value
10581 """
10582 _args = [
10583 Arg("value", value),
10584 ]
10585 _ctx = self._select("newInteger", _args)
10586 return JSONValue(_ctx)
10587
10588 def new_string(self, value: str) -> Self:
10589 """Encode a string to json

Callers

nothing calls this directly

Calls 3

ArgClass · 0.90
_selectMethod · 0.80
JSONValueClass · 0.70

Tested by

no test coverage detected