Bases: sqlalchemy.ext.declarative.Base
A base class for Shot and Asset classes.
It will supply the base attributes to be able to attach a Version to the Shot and Asset instances.
It doesn’t need any parameter while initialization.
It supplies only one read-only attribute called versions which is a list and holds Version instances.
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.
Methods
__init__(**kwargs) | A simple constructor that allows initialization from kwargs. |
query() |
Attributes
description | |
id | |
metadata | A collection of Table objects and their associated schema constructs. |
project | the Project instance which this object is related to |
project_id | |
thumbnail_full_path | returns the thumbnail full path for this versionable |
versionable_type | |
versions | the Version instances attached to this object |