MCPcopy
hub / github.com/pydantic/pydantic / PydanticInvalidForJsonSchema

Class PydanticInvalidForJsonSchema

pydantic/errors.py:156–164  ·  view source on GitHub ↗

An error raised during failures to generate a JSON schema for some `CoreSchema`. Attributes: message: Description of the error.

Source from the content-addressed store, hash-verified

154
155
156class PydanticInvalidForJsonSchema(PydanticUserError):
157 """An error raised during failures to generate a JSON schema for some `CoreSchema`.
158
159 Attributes:
160 message: Description of the error.
161 """
162
163 def __init__(self, message: str) -> None:
164 super().__init__(message, code='invalid-for-json-schema')
165
166
167class PydanticForbiddenQualifier(PydanticUserError):

Callers 4

arguments_schemaMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected