wetlab.Well¶
- class wetlab.Well(*args, **kwargs)¶
Bases:
Registry
,CanValidate
Wells.
Fields
- id AutoField
Internal id, valid only in one DB instance.
- uid CharField
Universal id, valid across DB instances.
- name CharField
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- row CharField
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- column IntegerField
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- created_at DateTimeField
Time of creation of record.
- updated_at DateTimeField
Time of last update to record.
- created_by ForeignKey
Creator of record, a
User
.
- artifacts ManyToManyField
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.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- collections ManyToManyField
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.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
Methods