seriesmarker.persistence.model.director module¶
-
class
Director
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
This class stores information about a director 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 0x7f122dbbe908; Director>¶
-
__table__
= Table('director', MetaData(bind=None), Column('id', Integer(), table=<director>, primary_key=True, nullable=False), Column('episode_id', Integer(), ForeignKey('episode.id'), table=<director>), Column('name', String(), table=<director>), schema=None)¶
-
__tablename__
= 'director'¶
-
_sa_class_manager
= <ClassManager of <class 'seriesmarker.persistence.model.director.Director'> at 7f122dbbdb88>¶
-
episode_id
¶
-
id
¶
-
name
¶
-