Output¶
Module contents¶
Definition of all the models required to create an output specification for
some AnalysisVersion
and
keep track of the outputs associated with some
Run
instance.
Subpackages¶
- django_analyses.models.output.definitions package
- Submodules
- django_analyses.models.output.definitions.file_output_definition module
- django_analyses.models.output.definitions.float_output_definition module
- django_analyses.models.output.definitions.output_definition module
- django_analyses.models.output.definitions.output_definitions module
- Module contents
- django_analyses.models.output.types package
Submodules¶
django_analyses.models.output.output module¶
-
class
django_analyses.models.output.output.
Output
(id, run)¶ Bases:
django.db.models.base.Model
-
definition
= None¶
-
fileoutput
¶ 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 aReverseOneToOneDescriptor
instance.
-
floatoutput
¶ 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 aReverseOneToOneDescriptor
instance.
-
get_json_value
() → Any¶
-
json_value
¶
-
key
¶
-
listoutput
¶ 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 aReverseOneToOneDescriptor
instance.
-
objects
= <model_utils.managers.InheritanceManager object>¶
-
pre_save
() → None¶
-
run
¶ 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 aForwardManyToOneDescriptor
instance.
-
save
(*args, **kwargs)¶ Save the current instance. Override this in a subclass if you want to control the saving process.
The ‘force_insert’ and ‘force_update’ parameters can be used to insist that the “save” must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.
-
validate
() → None¶
-
value
= None¶
-
value_is_foreign_key
¶
-
django_analyses.models.output.output_specification module¶
-
class
django_analyses.models.output.output_specification.
OutputSpecification
(id, created, modified, analysis)¶ Bases:
django_extensions.db.models.TimeStampedModel
-
analysis
¶ 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 aForwardManyToOneDescriptor
instance.
-
analysis_version_set
¶ 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 aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
base_output_definitions
¶ 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.
-
objects
= <django_analyses.models.managers.output_specification.OutputSpecificationManager object>¶
-
output_definitions
¶
-