seriesmarker.persistence.model.role module¶
-
class
Role
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
This class stores information about a role of an actor in a series.
-
__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 0x7f122dc0ff60; Role>¶
-
__table__
= Table('role', MetaData(bind=None), Column('id', Integer(), table=<role>, primary_key=True, nullable=False), Column('series_extra_id', Integer(), ForeignKey('series_extra.id'), table=<role>), Column('Role', String(), table=<role>), Column('Name', String(), table=<role>), Column('SortOrder', Integer(), table=<role>), Column('Image', String(), table=<role>), schema=None)¶
-
__tablename__
= 'role'¶
-
_sa_class_manager
= <ClassManager of <class 'seriesmarker.persistence.model.role.Role'> at 7f122dbbd0e8>¶
-
extra
¶
-
id
¶
-
image
¶
-
name
¶
-
role
¶
-
series_extra_id
¶
-
sort_order
¶
-