_IgnoreUnserializable Class — langchain Architecture
Architecture documentation for the _IgnoreUnserializable class in pydantic.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD aa818dc7_5179_f028_727d_6b50c4ab8285["_IgnoreUnserializable"] 930c470c_e6f2_ae5f_1129_48cfd16873f9["pydantic.py"] aa818dc7_5179_f028_727d_6b50c4ab8285 -->|defined in| 930c470c_e6f2_ae5f_1129_48cfd16873f9 3fe68765_395f_55b9_9ffc_3a9624ad1b5b["handle_invalid_for_json_schema()"] aa818dc7_5179_f028_727d_6b50c4ab8285 -->|method| 3fe68765_395f_55b9_9ffc_3a9624ad1b5b
Relationship Graph
Source Code
libs/core/langchain_core/utils/pydantic.py lines 189–199
class _IgnoreUnserializable(GenerateJsonSchema):
"""A JSON schema generator that ignores unknown types.
https://docs.pydantic.dev/latest/concepts/json_schema/#customizing-the-json-schema-generation-process
"""
@override
def handle_invalid_for_json_schema(
self, schema: core_schema.CoreSchema, error_info: str
) -> JsonSchemaValue:
return {}
Domain
Defined In
Source
Frequently Asked Questions
What is the _IgnoreUnserializable class?
_IgnoreUnserializable is a class in the langchain codebase, defined in libs/core/langchain_core/utils/pydantic.py.
Where is _IgnoreUnserializable defined?
_IgnoreUnserializable is defined in libs/core/langchain_core/utils/pydantic.py at line 189.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free