MCPcopy Index your code
hub / github.com/github/copilot-sdk / from_int

Function from_int

python/copilot/generated/rpc.py:71–73  ·  view source on GitHub ↗
(x: Any)

Source from the content-addressed store, hash-verified

69 return x.value
70
71def from_int(x: Any) -> int:
72 assert isinstance(x, int) and not isinstance(x, bool)
73 return x
74
75def from_datetime(x: Any) -> datetime:
76 return dateutil.parser.parse(x)

Callers 15

from_dictMethod · 0.70
to_dictMethod · 0.70
from_dictMethod · 0.70
to_dictMethod · 0.70
from_dictMethod · 0.70
to_dictMethod · 0.70
from_dictMethod · 0.70
to_dictMethod · 0.70
from_dictMethod · 0.70
to_dictMethod · 0.70
from_dictMethod · 0.70
to_dictMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…