tendril.inventory.db.model module

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

class tendril.inventory.db.model.InventoryLocationCode(**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.

name
_sa_class_manager = <ClassManager of <class 'tendril.inventory.db.model.InventoryLocationCode'> at 7f6cbd6ba990>
id
class tendril.inventory.db.model.InventoryIndent(**kwargs)[source]

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

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.

title
desc
type
status
requested_by_id
requested_by
serialno_id
serialno
auth_parent_id
auth_parent
cobom_id = None
cobom = None
_sa_class_manager = <ClassManager of <class 'tendril.inventory.db.model.InventoryIndent'> at 7f6cbd6632a0>
created_at
id
updated_at