seriesmarker.persistence.model.banner module

class Banner(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

This class stores information about a banner of series and episodes.

__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 0x7f122dc0f4a8; Banner>
__repr__()[source]
__table__ = Table('banner', MetaData(bind=None), Column('id', Integer(), table=<banner>, primary_key=True, nullable=False), Column('BannerPath', String(), table=<banner>), Column('BannerType', String(), table=<banner>), Column('BannerType2', String(), table=<banner>), Column('Language', String(), table=<banner>), Column('Rating', Float(), table=<banner>), Column('RatingCount', Integer(), table=<banner>), schema=None)
__tablename__ = 'banner'
_sa_class_manager = <ClassManager of <class 'seriesmarker.persistence.model.banner.Banner'> at 7f122dc20728>
banner_path
banner_type
banner_type2
extra
id
language
rating
rating_count