STYLE remove inaccurate use of Optional
when the argument is optional but has a non-None default https://docs.python.org/3/library/typing.html#typing.Optional
when the argument is optional but has a non-None default https://docs.python.org/3/library/typing.html#typing.Optional