Type annotations need to be in brackets, see https://docs.python.org/3/library/typing.html
Run pytest to check fix works.
pytest