Message411447
ImportError: cannot import name 'Db' from partially initialized module 'orm_model.db' (most likely due to a circular import) (C:\Users\Komil\OneDrive\Desktop\mymodel\orm_model\db.py)
I am making al library!
I have model.py and db.py
in db.py has class Db
in model.py has class Model
db.py imported Model
and model.py imported Db
but i have error
ImportError: cannot import name 'Db' from partially initialized module 'orm_model.db' (most likely due to a circular import)
how can i resolve it please enswer me! |
|
Date |
User |
Action |
Args |
2022-01-24 06:47:04 | KOMILJONOV | set | recipients:
+ KOMILJONOV |
2022-01-24 06:47:04 | KOMILJONOV | set | messageid: <1643006824.68.0.207165371072.issue46499@roundup.psfhosted.org> |
2022-01-24 06:47:04 | KOMILJONOV | link | issue46499 messages |
2022-01-24 06:47:04 | KOMILJONOV | create | |
|