beat.web.attestations.models module¶
-
class
beat.web.attestations.models.AttestationManager[source]¶ Bases:
django.db.models.manager.Manager
-
class
beat.web.attestations.models.Attestation(id, number, experiment, locked, creation_date, publication_date, expiration_date, toolchain)[source]¶ Bases:
django.db.models.base.Model-
number¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
experiment¶ 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.placeis aForwardOneToOneDescriptorinstance.
-
locked¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
creation_date¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
publication_date¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
expiration_date¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
toolchain¶ 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.parentis aForwardManyToOneDescriptorinstance.
-
dataformats¶ Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
pizza.toppingsandtopping.pizzasareManyToManyDescriptorinstances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()defined below.
-
algorithms¶ Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
pizza.toppingsandtopping.pizzasareManyToManyDescriptorinstances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()defined below.
-
objects= <beat.web.attestations.models.AttestationManager object>¶
-
exception
DoesNotExist¶ Bases:
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned¶ Bases:
django.core.exceptions.MultipleObjectsReturned
-
action_object_actions¶ 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.commentsis a ReverseGenericManyToOneDescriptor instance.
-
actor_actions¶ 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.commentsis a ReverseGenericManyToOneDescriptor instance.
-
experiment_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_next_by_creation_date(**morekwargs)¶
-
get_previous_by_creation_date(**morekwargs)¶
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
target_actions¶ 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.commentsis a ReverseGenericManyToOneDescriptor instance.
-
toolchain_id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-