You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
neeble/models/ipm.py

17 lines
315 B
Python

from settings.config import SQLACHEMY
from sqlalchemy import Table
from sqlalchemy.orm import declarative_base
Base = declarative_base()
class Ipm(Base):
"""
IPM model class.
"""
__table__ = Table(
"ipm",
Base.metadata,
autoload=True,
autoload_with=SQLACHEMY
)