MCPcopy
hub / github.com/MAA1999/M9A / _as_string

Function _as_string

agent/utils/pienv.py:22–25  ·  view source on GitHub ↗
(value: Any)

Source from the content-addressed store, hash-verified

20
21
22def _as_string(value: Any) -> str:
23 if value is None:
24 return ""
25 return str(value)
26
27
28def _as_int(value: Any) -> int | None:

Callers 7

_as_string_listFunction · 0.85
from_dictMethod · 0.85
from_dictMethod · 0.85
from_dictMethod · 0.85
from_dictMethod · 0.85
from_dictMethod · 0.85
from_dictMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected