I was trying to following the design pattern shown in this previous question related to SQLAlchemy and intended to share a common Base instance across multiple files. The co
One solution I found is to:
import base lines in a.py, b.py, and c.py to from . import Basefrom model import base to from model import Base base.Base to Base.I'm still uncertain why the previous design works in python2 but not python3. The changes above make it work in both python2 and python3.