SQLAlchemy no longer needs the 'autoload' argument

ad8f921e96
develop
Kamal Curi 1 year ago
parent 5df8c35d55
commit e8c5c268d3

@ -11,6 +11,5 @@ class ViewedNews(Base):
__table__ = Table( __table__ = Table(
"viewed_news", "viewed_news",
Base.metadata, Base.metadata,
autoload=True,
autoload_with=SQLACHEMY autoload_with=SQLACHEMY
) )

@ -11,6 +11,5 @@ class Quotes(Base):
__table__ = Table( __table__ = Table(
"neeble_quotes", "neeble_quotes",
Base.metadata, Base.metadata,
autoload=True,
autoload_with=SQLACHEMY autoload_with=SQLACHEMY
) )

Loading…
Cancel
Save