seriesmarker.persistence.model.series_extra module

class SeriesExtra(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

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

__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 0x7f122db73a90; SeriesExtra>
__repr__()[source]
__table__ = Table('series_extra', MetaData(bind=None), Column('id', Integer(), table=<series_extra>, primary_key=True, nullable=False), Column('series_id', Integer(), ForeignKey('series.id'), table=<series_extra>), Column('banner_id', Integer(), ForeignKey('banner.id'), table=<series_extra>), schema=None)
__tablename__ = 'series_extra'
_sa_class_manager = <ClassManager of <class 'seriesmarker.persistence.model.series_extra.SeriesExtra'> at 7f122db7c728>
banner
banner_id
id
roles
series_id