Somehow "from __future__ import annotations" and "lambda" are not working together well here, work around it by not using a lambda function.
Somehow "from __future__ import annotations" and "lambda" are not working together well here, work around it by not using a lambda function.