Skip to content

Commit 9e9a111

Browse files
committed
Fix backported test
1 parent 1ec8c6a commit 9e9a111

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3063,7 +3063,7 @@ class SubAttributeError(AttributeError):
30633063
pass
30643064

30653065
class Model(BaseModel, from_attributes=True):
3066-
field: int | None = None
3066+
field: Union[int, None] = None
30673067

30683068
class Obj:
30693069
@property

0 commit comments

Comments
 (0)