The issue is usage of the following functionality which is introduced in Python 3.9 (typing — Support for type hints — Python 3.10.5 documentation):
list[...]
Should be solved when publishing the app on Python 3.9: Support for Python 3.7 - 3.10 🐍