Skip to content
Snippets Groups Projects
Commit 12df23f9 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-215: added doc string

parent 12c8c461
No related branches found
No related tags found
1 merge request!197Resolve TMSS-215
...@@ -233,6 +233,10 @@ class DefaultGeneratorTemplate(BasicCommon): ...@@ -233,6 +233,10 @@ class DefaultGeneratorTemplate(BasicCommon):
class SchedulingUnitObservingStrategyTemplate(NamedCommon): class SchedulingUnitObservingStrategyTemplate(NamedCommon):
'''
A SchedulingUnitObservingStrategyTemplate is a template in the sense that it serves as a template to fill in json data objects conform its referred scheduling_unit_template.
It is however not derived from the (abstract) Template super-class, because the Template super class is for JSON schemas, not JSON data objects.
'''
version = CharField(max_length=128, help_text='Version of this template (with respect to other templates of the same name).') version = CharField(max_length=128, help_text='Version of this template (with respect to other templates of the same name).')
template = JSONField(null=False, help_text='JSON-data compliant with the JSON-schema in the scheduling_unit_template. ' template = JSONField(null=False, help_text='JSON-data compliant with the JSON-schema in the scheduling_unit_template. '
'This observation strategy template like a predefined recipe with all the correct settings, and defines which parameters the user can alter.') 'This observation strategy template like a predefined recipe with all the correct settings, and defines which parameters the user can alter.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment