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

Function decode

src/msgspec/yaml.py:107–113  ·  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

105
106@overload
107def decode(
108 buf: Union[Buffer, str],
109 *,
110 strict: bool = True,
111 dec_hook: Optional[Callable[[type, Any], Any]] = None,
112) -> Any:
113 pass
114
115
116@overload

Callers 1

test_struct_unionMethod · 0.50

Calls 1

_import_pyyamlFunction · 0.85

Tested by 1

test_struct_unionMethod · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…