Skip to content

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

NotUpdated ​

The updated object no longer exists.

Source ​

server/vueda/vdq/models.py

Vueda ​

Source ​

server/vueda/vdq/models.py:107

delete_email_attachments ​

Signature ​

delete_email_attachments(self)

Parameters ​

NameTypeRequiredDefaultDescription
selfyes

Source ​

server/vueda/vdq/models.py:132

delete_files ​

Signature ​

delete_files(self)

Parameters ​

NameTypeRequiredDefaultDescription
selfyes

Source ​

server/vueda/vdq/models.py:127

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 ​

NameTypeRequiredDefaultDescription
unknownyes

get_formatted_name ​

Signature ​

get_formatted_name(self)

Parameters ​

NameTypeRequiredDefaultDescription
selfyes

Source ​

server/vueda/vdq/models.py:124

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 ​

NameTypeRequiredDefaultDescription
unknownyes

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 ​

NameTypeRequiredDefaultDescription
unknownyes

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 ​

NameTypeRequiredDefaultDescription
unknownyes

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 ​

NameTypeRequiredDefaultDescription
unknownyes

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 ​

NameTypeRequiredDefaultDescription
unknownyes

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 ​

NameTypeRequiredDefaultDescription
unknownyes

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 ​

NameTypeRequiredDefaultDescription
unknownyes

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 ​

NameTypeRequiredDefaultDescription
unknownyes

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 ​

NameTypeRequiredDefaultDescription
unknownyes

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 ​

NameTypeRequiredDefaultDescription
unknownyes

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 ​

NameTypeRequiredDefaultDescription
unknownyes

on_transition ​

Override this method to add custom logic on transition.

Signature ​

on_transition(self, transition, user, dry_run)

Parameters ​

NameTypeRequiredDefaultDescription
selfyes
transitionyes
usernoNone
dry_runnoFalse

Source ​

server/vueda/vdq/models.py:141

pgh_event_model ​

A descriptor for accessing the pgh_event_model field on a tracked model

Signature ​

pgh_event_model(unknown)

Parameters ​

NameTypeRequiredDefaultDescription
unknownyes

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 ​

NameTypeRequiredDefaultDescription
unknownyes

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 ​

NameTypeRequiredDefaultDescription
unknownyes

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 ​

NameTypeRequiredDefaultDescription
unknownyes

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 ​

NameTypeRequiredDefaultDescription
unknownyes

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 ​

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_reverse_many_to_one_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:85