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

added description to new_property_type() method

parent b3b3f141
No related branches found
No related tags found
No related merge requests found
......@@ -2674,6 +2674,30 @@ class Openbis:
schema = None,
transformation = None,
):
""" Creates a new property type.
code -- name of the property type
internalNameSpace -- must be set to True if code starts with a $
label -- displayed label of that property
description --
dataType -- must contain any of these values:
INTEGER VARCHAR MULTILINE_VARCHAR
REAL TIMESTAMP BOOLEAN HYPERLINK
XML CONTROLLEDVOCABULARY MATERIAL
vocabulary -- if dataType is CONTROLLEDVOCABULARY, this attribute
must contain the code of the vocabulary object.
managedInternally -- default: False
materialType --
schema --
transformation --
PropertyTypes can be assigned to
- sampleTypes
- dataSetTypes
- experimentTypes
- materialTypes (deprecated)
"""
return PropertyType(
openbis_obj=self,
code=code,
......
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