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

Function from_float

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

Source from the content-addressed store, hash-verified

49 return x
50
51def from_float(x: Any) -> float:
52 assert isinstance(x, (float, int)) and not isinstance(x, bool)
53 return float(x)
54
55def to_float(x: Any) -> float:
56 assert isinstance(x, (int, float))

Callers 4

from_dictMethod · 0.70
from_dictMethod · 0.70
from_dictMethod · 0.70
from_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…