beat.web.experiments.models.block_input module

class beat.web.experiments.models.block_input.BlockInputManager[source]

Bases: django.db.models.manager.Manager

get_by_natural_key(block_natural_key, cache_hash, database_natural_key)[source]
class beat.web.experiments.models.block_input.BlockInput(id, block, cache, database, channel)[source]

Bases: django.db.models.base.Model

block

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.

cache

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.

database

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.

channel

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <beat.web.experiments.models.block_input.BlockInputManager object>
natural_key()[source]
exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

block_id
cache_id
database_id
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.