seriesmarker.persistence.model.episode_extra module

class EpisodeExtra(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

This class stores extra informations about an episode, e.g., if it has been watched.

__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 0x7f122db73198; EpisodeExtra>
__repr__()[source]
__table__ = Table('episode_extra', MetaData(bind=None), Column('id', Integer(), table=<episode_extra>, primary_key=True, nullable=False), Column('extra_id', Integer(), ForeignKey('episode.id'), table=<episode_extra>), Column('watched', Boolean(), table=<episode_extra>), schema=None)
__tablename__ = 'episode_extra'
_sa_class_manager = <ClassManager of <class 'seriesmarker.persistence.model.episode_extra.EpisodeExtra'> at 7f122db7c098>
extra_id
id
watched