Workflow
Overview
A workflow is a collection of states and transitions.
DoesNotExist
The requested object does not exist
Source
server/vueda/workflow/models.py
MultipleObjectsReturned
The query returned multiple objects when only one was expected.
Source
server/vueda/workflow/models.py
str {#str}
Return str(self).
Signature {#str-signature}
__str__(self)
Parameters {#str-parameters}
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes |
Source {#str-source}
server/vueda/workflow/models.py:63
code
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
code(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
historical_app_label
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
historical_app_label(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
historical_model
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
historical_model(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
id(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
name(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
pgh_event_model
A descriptor for accessing the pgh_event_model field on a tracked model
Signature
pgh_event_model(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
save
Snapshot historical_app_label and historical_model before saving.
Signature
save(self, args, kwargs)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes | ||
| args | yes | ||
| kwargs | yes |
Source
server/vueda/workflow/models.py:77
_meta
_vueda_options
content_type
Accessor to the related object on the forward side of a one-to-one relation.
In the example::
class Restaurant(Model):
place = OneToOneField(Place, related_name='restaurant')
Restaurant.place is a ForwardOneToOneDescriptor instance.
content_type_id
events
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example::
class Child(Model):
parent = ForeignKey(Parent, related_name='children')
Parent.children is a ReverseManyToOneDescriptor instance.
Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.
formatted_name
initial_state
Accessor to the related object on the reverse side of a one-to-one relation.
In the example::
class Restaurant(Model):
place = OneToOneField(Place, related_name='restaurant')
Place.restaurant is a ReverseOneToOneDescriptor instance.
object_states
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example::
class Child(Model):
parent = ForeignKey(Parent, related_name='children')
Parent.children is a ReverseManyToOneDescriptor instance.
Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.
object_states_proxy
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example::
class Child(Model):
parent = ForeignKey(Parent, related_name='children')
Parent.children is a ReverseManyToOneDescriptor instance.
Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.
pgh_event_models
states
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example::
class Child(Model):
parent = ForeignKey(Parent, related_name='children')
Parent.children is a ReverseManyToOneDescriptor instance.
Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.
transitions
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example::
class Child(Model):
parent = ForeignKey(Parent, related_name='children')
Parent.children is a ReverseManyToOneDescriptor instance.
Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.
workflow_permissions
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example::
class Child(Model):
parent = ForeignKey(Parent, related_name='children')
Parent.children is a ReverseManyToOneDescriptor instance.
Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.
Source
server/vueda/workflow/models.py:46