ImportError: cannot import name 'Base' from partially initialized module 'DatabaseService' (most likely due to a circular import)

后端 未结 0 530
有刺的猬
有刺的猬 2021-01-21 14:34

I am following this docs to add a one-to-one mapping using sqlalchemy, this is my parent part code:

class Article(Base):
    __tablename__ = \'article\'
    id =          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题