Remove unnecessary `Optional`
The type hints `object` and `Optional[object]` both allow the default value `None`. Also, this commit gets rid of ruff's "FA100" error for the two changed lines.
Loading
Please register or sign in to comment
The type hints `object` and `Optional[object]` both allow the default value `None`. Also, this commit gets rid of ruff's "FA100" error for the two changed lines.