From 239d3482fd3a04e392a913e57f5ed318ae2b7d28 Mon Sep 17 00:00:00 2001 From: vermeul <swen@ethz.ch> Date: Sun, 15 Dec 2019 01:37:24 +0100 Subject: [PATCH] added definitions for externalDms --- pybis/src/python/pybis/definitions.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pybis/src/python/pybis/definitions.py b/pybis/src/python/pybis/definitions.py index 7513eab410c..e330fb14df9 100644 --- a/pybis/src/python/pybis/definitions.py +++ b/pybis/src/python/pybis/definitions.py @@ -37,6 +37,14 @@ def openbis_definitions(entity): "create": { "@type": "as.dto.experiment.create.ExperimentCreation"}, "update": { "@type": "as.dto.experiment.update.ExperimentUpdate"}, }, + "externalDms": { + "attrs_new": "code label address addressType creationId".split(), + "attrs_up": "label address".split(), + "attrs": "code permId label address addressType urlTemplate".split(), + "identifier": "externalDmsId", + "create": { "@type": "as.dto.externaldms.create.ExternalDmsCreation"}, + "update": { "@type": "as.dto.externaldms.update.ExternalDmsUpdate"}, + }, "sample": { "attrs_new": "code type project parents children container components space experiment tags attachments".split(), "attrs_up": "project parents children container components space experiment tags attachments freeze freezeForComponents freezeForChildren freezeForParents freezeForDataSets".split(), @@ -453,6 +461,7 @@ fetch_option = { "vocabularyTerm": {"@type": "as.dto.vocabulary.fetchoptions.VocabularyTermFetchOptions"}, "deletedObjects": { "@type": "as.dto.deletion.fetchoptions.DeletedObjectFetchOptions" }, "deletion": { "@type": "as.dto.deletion.fetchoptions.DeletionFetchOptions" }, + "externalDms": { "@type": "as.dto.externaldms.fetchoptions.ExternalDmsFetchOptions"}, } def get_fetchoption_for_entity(entity): -- GitLab