MCPcopy
hub / github.com/huggingface/smolagents / SerializationError

Class SerializationError

src/smolagents/serialization.py:39–42  ·  view source on GitHub ↗

Raised when a type cannot be safely serialized.

Source from the content-addressed store, hash-verified

37
38
39class SerializationError(Exception):
40 """Raised when a type cannot be safely serialized."""
41
42 pass
43
44
45class SafeSerializer:

Callers 3

to_json_safeMethod · 0.70
dumpsMethod · 0.70
loadsMethod · 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…