Skip to content

Experiment

Properties

Name Type Description Notes
created_date datetime [optional]
experiment_id int [optional]
experiment_info str [optional]
experiment_name str [optional]
experiment_status str [optional]
owner_id int [optional]
status_changed_date datetime [optional]

1:1 Relationships

All the listed relationships are available as properties on the model instance

Name Model Linked Via
owner Owner owner_id

Implicit Relationships

All the listed relationships are available as properties on the model instance

Name Model API Operation Parameter
rounds List[Round] RoundApi ExperimentID->id
round_orders List[RoundOrder] RoundApi ExperimentID->id
notes List[ExperimentNote] ExperimentApi ExperimentID->id
actions List[Action] ActionApi ExperimentID->id
unfinished_actions List[Action] ActionApi ExperimentID->id

Parameterized Relationships

All the listed relationships are available as methods on the model instance.

Parameters written in bold are taken automatically from the model instance, when calling the method you have to supply the non-bold parameters

Name Model API Operation Parameters
rounds_by_date List[Round] RoundApi RoundDateExperiment ExperimentID->id, start->start, stop->stop
round_orders_by_date List[RoundOrder] RoundApi RoundOrderDateExperiment ExperimentID->id, start->start, stop->stop
## Example
from plantscreen.models.experiment import Experiment

# TODO update the JSON string below
json = "{}"
# create an instance of Experiment from a JSON string
experiment_instance = Experiment.from_json(json)
# print the JSON string representation of the object
print(Experiment.to_json())

# convert the object into a dict
experiment_dict = experiment_instance.to_dict()
# create an instance of Experiment from a dict
experiment_from_dict = Experiment.from_dict(experiment_dict)

Back to API Endpoints Back to Models [Back to README]