seriesmarker.persistence.model.writer module

class Writer(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

This class stores information about a writer of an episode.

__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 0x7f122dbbee80; Writer>
__repr__()[source]
__table__ = Table('writer', MetaData(bind=None), Column('id', Integer(), table=<writer>, primary_key=True, nullable=False), Column('episode_id', Integer(), ForeignKey('episode.id'), table=<writer>), Column('name', String(), table=<writer>), schema=None)
__tablename__ = 'writer'
_sa_class_manager = <ClassManager of <class 'seriesmarker.persistence.model.writer.Writer'> at 7f122dbcf138>
episode_id
id
name