Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

circular import #146

@jakbin

Description

@jakbin

Traceback (most recent call last):
File "/home/dj/Desktop/Code/jwt.py", line 2, in
from flask_jwt import JWTs, jwt_required, current_identity
File "/usr/local/lib/python3.9/dist-packages/flask_jwt/init.py", line 16, in
from jwt import *
File "/home/dj/Desktop/Code/jwt.py", line 2, in
from flask_jwt import JWTs, jwt_required, current_identity
ImportError: cannot import name 'JWTs' from partially initialized module 'flask_jwt' (most likely due to a circular import) (/usr/local/lib/python3.9/dist-packages/flask_jwt/init.py)

i run same code, i found on documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions