If you are deploying and running the flask application with 1.1.2 version by using the Docker containers, you will get ImportError: cannot import name ‘json’ from itsdangerous
The Flask version 1.1.2 has a dependency on markupsafe and itsdangerous packages. The issue is with MarkupSafe:2.1.0 where they have removed soft_unicode.