diff --git a/src/ert_storage/database_schema/ensemble.py b/src/ert_storage/database_schema/ensemble.py index 8975c041..0815eacc 100644 --- a/src/ert_storage/database_schema/ensemble.py +++ b/src/ert_storage/database_schema/ensemble.py @@ -51,3 +51,7 @@ def parent_ensemble_id(self) -> PyUUID: @property def child_ensemble_ids(self) -> List[PyUUID]: return [x.ensemble_result.id for x in self.children] + + @property + def experiment_id(self) -> PyUUID: + return self.experiment.id