New submission from shukurulloxkomiljonov <komiljonovshukurul...@gmail.com>:
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! ---------- components: Library (Lib) messages: 411447 nosy: KOMILJONOV priority: normal severity: normal status: open title: circular impoty type: crash versions: Python 3.10, Python 3.11, Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46499> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com