seriesmarker.persistence.model.banner_extra module

class BannerExtra(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

This class stores extra information about a banner, e.g., its URL.

__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

__mapper__ = <Mapper at 0x7f122dc0f8d0; BannerExtra>
__repr__()[source]
__table__ = Table('banner_extra', MetaData(bind=None), Column('id', Integer(), table=<banner_extra>, primary_key=True, nullable=False), Column('banner_id', Integer(), ForeignKey('banner.id'), table=<banner_extra>), Column('BannerURL', String(), table=<banner_extra>), schema=None)
__tablename__ = 'banner_extra'
_sa_class_manager = <ClassManager of <class 'seriesmarker.persistence.model.banner_extra.BannerExtra'> at 7f122dc29ae8>
banner_id
banner_url
id