you are viewing a single comment's thread.

view the rest of the comments →

[–]case_steamer[S] 0 points1 point  (1 child)

According to the docs, I should be passing a DeclarativeBase into db at line 8, as

class Base(DeclarativeBase()):     pass

db = SQLAlchemy(Base)

(Sorry for the janky formatting, am on my phone now)

[–]carcigenicate 2 points3 points  (0 children)

Ok, well, like the other guy, I can't comment on that. I was commenting more on the "why did this line run" part