Skip to content
Snippets Groups Projects
Commit 10a7a22b authored by Swen Vermeul's avatar Swen Vermeul
Browse files

changed entity from VocabularyTerm to vocabularyTerm

parent 665970d4
No related branches found
No related tags found
No related merge requests found
...@@ -197,7 +197,7 @@ def openbis_definitions(entity): ...@@ -197,7 +197,7 @@ def openbis_definitions(entity):
"multi": "parents children containers components".split(), "multi": "parents children containers components".split(),
"identifier": "dataSetId", "identifier": "dataSetId",
}, },
"Material": { "material": {
"attrs_new": "code description type creation tags".split(), "attrs_new": "code description type creation tags".split(),
"attrs_up": "description type creation tags".split(), "attrs_up": "description type creation tags".split(),
"attrs": "code description type creation registrator registrationDate modifier modificationDate tags".split(), "attrs": "code description type creation registrator registrationDate modifier modificationDate tags".split(),
...@@ -223,7 +223,7 @@ def openbis_definitions(entity): ...@@ -223,7 +223,7 @@ def openbis_definitions(entity):
"delete": { "@type": "as.dto.vocabulary.delete.VocabularyDeletionOptions"}, "delete": { "@type": "as.dto.vocabulary.delete.VocabularyDeletionOptions"},
"fetch": { "@type": "as.dto.vocabulary.fetchoptions.VocabularyFetchOptions"}, "fetch": { "@type": "as.dto.vocabulary.fetchoptions.VocabularyFetchOptions"},
}, },
"VocabularyTerm": { "vocabularyTerm": {
"attrs_new": "code vocabularyCode label description official ordinal".split(), "attrs_new": "code vocabularyCode label description official ordinal".split(),
"attrs_up": "label description official previousTermId".split(), "attrs_up": "label description official previousTermId".split(),
"attrs": "code vocabularyCode label description official ordinal registrator registrationDate modifier modificationDate".split(), "attrs": "code vocabularyCode label description official ordinal registrator registrationDate modifier modificationDate".split(),
......
...@@ -127,7 +127,7 @@ class VocabularyTerm(OpenBisObject): ...@@ -127,7 +127,7 @@ class VocabularyTerm(OpenBisObject):
def __init__(self, openbis_obj, data=None, **kwargs): def __init__(self, openbis_obj, data=None, **kwargs):
self.__dict__['openbis'] = openbis_obj self.__dict__['openbis'] = openbis_obj
self.__dict__['a'] = AttrHolder(openbis_obj, 'VocabularyTerm') self.__dict__['a'] = AttrHolder(openbis_obj, 'vocabularyTerm')
if data is not None: if data is not None:
self._set_data(data) self._set_data(data)
......
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