You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\Users\kchon\OneDrive\Desktop\pydantic\new.py", line 7, in <module>
class A(BaseModel):
File "C:\Users\kchon\OneDrive\Desktop\pydantic\pydantic\_internal\_model_construction.py", line 227, in __new__
complete_model_class(
File "C:\Users\kchon\OneDrive\Desktop\pydantic\pydantic\_internal\_model_construction.py", line 679, in complete_model_class
cls.__pydantic_validator__ = create_schema_validator(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kchon\OneDrive\Desktop\pydantic\pydantic\plugin\_schema_validator.py", line 50, in create_schema_validator
return SchemaValidator(schema, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.SchemaError: Error building "model" validator:
SchemaError: Error building "model-fields" validator:
SchemaError: Field "self_field":
SchemaError: Error building "is-subclass" validator:
TypeError: '_SpecialForm' object cannot be converted to 'PyType'
Initial Checks
Description
Traceback
Example Code
Python, Pydantic & OS Version
The text was updated successfully, but these errors were encountered: