Hi @Mohammad_Nour,
This seems to be a bug in Python itself (see Issue 34921: NoReturn not allowed by get_type_hints when future import annotations is used - Python tracker) that didn’t appear previously because we weren’t typing.NoReturn. We recently improved our type annotations, so that’s why this is appearing now. I would recommend upgrading your Python version to >=3.7.2 to fix this.