seriesmarker.persistence.model.episode module

class Episode(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

This class stores information about an episode.

DVD_chapter
DVD_disc_id
DVD_episode_number
DVD_season
__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 0x7f122dbe2d30; Episode>
__repr__()[source]
__table__ = Table('episode', MetaData(bind=None), Column('id', Integer(), table=<episode>, primary_key=True, nullable=False), Column('season_id', Integer(), ForeignKey('season.id'), table=<episode>), Column('EpisodeName', String(), table=<episode>), Column('EpisodeNumber', Integer(), table=<episode>), Column('Combined_episodenumber', Float(), table=<episode>), Column('Combined_season', Integer(), table=<episode>), Column('Language', String(), table=<episode>), Column('Overview', String(), table=<episode>), Column('IMDB_ID', String(), table=<episode>), Column('airsbefore_season', Integer(), table=<episode>), Column('airsbefore_episode', Integer(), table=<episode>), Column('airsafter_season', Integer(), table=<episode>), Column('DVD_season', Integer(), table=<episode>), Column('DVD_chapter', Integer(), table=<episode>), Column('DVD_episodenumber', Float(), table=<episode>), Column('DVD_discid', Integer(), table=<episode>), Column('EpImgFlag', Integer(), table=<episode>), Column('ProductionCode', String(), table=<episode>), Column('lastupdated', Integer(), table=<episode>), Column('filename', String(), table=<episode>), Column('FirstAired', Date(), table=<episode>), Column('absolute_number', Integer(), table=<episode>), Column('Rating', Float(), table=<episode>), Column('RatingCount', Integer(), table=<episode>), schema=None)
__tablename__ = 'episode'
_sa_class_manager = <ClassManager of <class 'seriesmarker.persistence.model.episode.Episode'> at 7f122dbe34a8>
absolute_number
airs_after_season
airs_before_episode
airs_before_season
combined_episode_number
combined_season
directors
ep_img_flag
episode_name
episode_number
extra
filename
first_aired
guests
id
imdb_id
language
last_updated
overview
production_code
rating
rating_count
season_id
writers