QueueItem
Overview
QueueItem(id, sender, receiver, content_type, object_id, method, result, retry_delay, queued, last_updated, done_since, task_id)
DoesNotExist
The requested object does not exist
Source
server/vueda/vdq/models.py
MultipleObjectsReturned
The query returned multiple objects when only one was expected.
Source
server/vueda/vdq/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/vdq/models.py:118
delete_email_attachments
Signature
delete_email_attachments(self)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes |
Source
server/vueda/vdq/models.py:129
delete_files
Signature
delete_files(self)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes |
Source
server/vueda/vdq/models.py:124
done_since
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
done_since(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
get_formatted_name
Signature
get_formatted_name(self)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes |
Source
server/vueda/vdq/models.py:121
get_method_display
Method descriptor with partial application of the given arguments and keywords.
Supports wrapping existing descriptors and handles non-descriptor callables as instance methods.
Signature
get_method_display(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
get_next_by_done_since
Method descriptor with partial application of the given arguments and keywords.
Supports wrapping existing descriptors and handles non-descriptor callables as instance methods.
Signature
get_next_by_done_since(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
get_next_by_last_updated
Method descriptor with partial application of the given arguments and keywords.
Supports wrapping existing descriptors and handles non-descriptor callables as instance methods.
Signature
get_next_by_last_updated(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
get_next_by_queued
Method descriptor with partial application of the given arguments and keywords.
Supports wrapping existing descriptors and handles non-descriptor callables as instance methods.
Signature
get_next_by_queued(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
get_previous_by_done_since
Method descriptor with partial application of the given arguments and keywords.
Supports wrapping existing descriptors and handles non-descriptor callables as instance methods.
Signature
get_previous_by_done_since(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
get_previous_by_last_updated
Method descriptor with partial application of the given arguments and keywords.
Supports wrapping existing descriptors and handles non-descriptor callables as instance methods.
Signature
get_previous_by_last_updated(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
get_previous_by_queued
Method descriptor with partial application of the given arguments and keywords.
Supports wrapping existing descriptors and handles non-descriptor callables as instance methods.
Signature
get_previous_by_queued(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 |
last_updated
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
last_updated(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
method
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
method(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
object_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
object_id(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
on_transition
Override this method to add custom logic on transition.
Signature
on_transition(self, transition, user, dry_run)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes | ||
| transition | yes | ||
| user | yes | ||
| dry_run | yes |
Source
server/vueda/vdq/models.py:138
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 |
queued
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
queued(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
result
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
result(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
retry_delay
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
retry_delay(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
task_id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
task_id(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
_meta
_vueda_options
anymail
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.
content_object
Provide a generic many-to-one relation through the content_type and object_id fields.
This class also doubles as an accessor to the related object (similar to ForwardManyToOneDescriptor) by adding itself as a model attribute.
content_type
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example::
class Child(Model):
parent = ForeignKey(Parent, related_name='children')
Child.parent is a ForwardManyToOneDescriptor 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
object_states_proxy
Accessor to the related objects manager on the one-to-many relation created by GenericRelation.
In the example::
class Post(Model):
comments = GenericRelation(Comment)
post.comments is a ReverseGenericManyToOneDescriptor instance.
pgh_event_models
receiver
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example::
class Child(Model):
parent = ForeignKey(Parent, related_name='children')
Child.parent is a ForwardManyToOneDescriptor instance.
receiver_id
sender
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example::
class Child(Model):
parent = ForeignKey(Parent, related_name='children')
Child.parent is a ForwardManyToOneDescriptor instance.
sender_id
sms
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.
Source
server/vueda/vdq/models.py:86