seriesmarker.persistence.model.guest module

class Guest(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

This class stores the basic (single string) information about a guest star 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 0x7f122dbd1ba8; Guest>
__repr__()[source]
__table__ = Table('guest', MetaData(bind=None), Column('id', Integer(), table=<guest>, primary_key=True, nullable=False), Column('episode_id', Integer(), ForeignKey('episode.id'), table=<guest>), Column('name', String(), table=<guest>), schema=None)
__tablename__ = 'guest'
_sa_class_manager = <ClassManager of <class 'seriesmarker.persistence.model.guest.Guest'> at 7f122dbcfe08>
episode_id
id
name