tendril.entityhub.db.model module

This file is part of tendril See the COPYING, README, and INSTALL files for more information

class tendril.entityhub.db.model.SerialNumberSeries(**kwargs)[source]

Bases: tendril.utils.db.BaseMixin, sqlalchemy.ext.declarative.api.Base

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.

series
last_seed
description
_sa_class_manager = <ClassManager of <class 'tendril.entityhub.db.model.SerialNumberSeries'> at 7f6cbd6ba050>
id
class tendril.entityhub.db.model.SerialNumber(**kwargs)[source]

Bases: tendril.utils.db.TimestampMixin, tendril.utils.db.BaseMixin, sqlalchemy.ext.declarative.api.Base

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.

sno
efield
_sa_class_manager = <ClassManager of <class 'tendril.entityhub.db.model.SerialNumber'> at 7f6cbd6ba2a0>
created_at
id
updated_at
class tendril.entityhub.db.model.SerialNumberAssociation(**kwargs)[source]

Bases: tendril.utils.db.TimestampMixin, tendril.utils.db.BaseMixin, sqlalchemy.ext.declarative.api.Base

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.

parent_id
parent
child_id
child
association_type
_sa_class_manager = <ClassManager of <class 'tendril.entityhub.db.model.SerialNumberAssociation'> at 7f6cbd6ba740>
created_at
id
updated_at