What will happen if two modules import each other?
To generalize the problem, what about the cyclic imports in Python?
Suppose you are running a test python file named request.py In request.py, you write
request.py
import request
so this also most likely a circular import.
Solution Just change your test file to another name such as aaa.py, other than request.py.
aaa.py