Skip to content

Commit

Permalink
Python 3.8 fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
kschwab committed Jan 25, 2024
1 parent ec32e4f commit e31311f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ class Foo(BaseModel):
a: int

class Settings(BaseSettings):
foo: Foo | None = None
foo: Optional[Foo] = None

p = tmp_path / 'foo'
p.write_text('{"a": 10}')
Expand Down

0 comments on commit e31311f

Please sign in to comment.