How to Solve NameError: name 'JWT' is not defined -- flask_jwt

Solution: Import the 'JWT' module

To Solve the error, add the following line to the top of your code.

from flask_jwt import JWT

 

For more information:
Python flask_jwt JWT