We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99932b7 commit 694dad6Copy full SHA for 694dad6
tests/test_schema_generation/test_schema_field.py
@@ -879,8 +879,8 @@ class SchemaWithoutClassVar(BaseModel):
879
old_model = schemas["2000-01-01"][SchemaWithoutClassVar]
880
881
assert not hasattr(latest_model, "new_config")
882
- assert mid_model.new_config == "added_config"
883
- assert old_model.new_config == "added_config"
+ assert mid_model.new_config == "added_config" # pyright: ignore[reportAttributeAccessIssue]
+ assert old_model.new_config == "added_config" # pyright: ignore[reportAttributeAccessIssue]
884
885
assert not hasattr(latest_model, "new_config_without_value")
886
assert not hasattr(mid_model, "new_config_without_value")
0 commit comments