MCPcopy
hub / github.com/msgspec/msgspec / decode

Function decode

src/msgspec/toml.py:114–120  ·  view source on GitHub ↗
(
    buf: Union[Buffer, str],
    *,
    strict: bool = True,
    dec_hook: Optional[Callable[[type, Any], Any]] = None,
)

Source from the content-addressed store, hash-verified

112
113@overload
114def decode(
115 buf: Union[Buffer, str],
116 *,
117 strict: bool = True,
118 dec_hook: Optional[Callable[[type, Any], Any]] = None,
119) -> Any:
120 pass
121
122
123@overload

Callers

nothing calls this directly

Calls 2

_import_tomllibFunction · 0.85
decodeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…