MCPcopy
hub / github.com/pydantic/pydantic / PydanticImportError

Class PydanticImportError

pydantic/errors.py:134–142  ·  view source on GitHub ↗

An error raised when an import fails due to module changes between V1 and V2. Attributes: message: Description of the error.

Source from the content-addressed store, hash-verified

132
133
134class PydanticImportError(PydanticErrorMixin, ImportError):
135 """An error raised when an import fails due to module changes between V1 and V2.
136
137 Attributes:
138 message: Description of the error.
139 """
140
141 def __init__(self, message: str) -> None:
142 super().__init__(message, code='import-error')
143
144
145class PydanticSchemaGenerationError(PydanticUserError):

Callers 1

wrapperFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected