Skip to content
Snippets Groups Projects

DOC: Add short list-value example

Merged Florian Spreckelsen requested to merge f-doc-list-appending into dev
All threads resolved!
Files
2
@@ -90,6 +90,7 @@ def is_reference(datatype):
else:
return True
def get_referenced_recordtype(datatype):
"""Return the record type of the referenced datatype.
@@ -119,7 +120,8 @@ def get_referenced_recordtype(datatype):
raise ValueError("list does not have a list datatype")
if datatype == FILE:
raise ValueError("FILE references are not considered references with a record type")
raise ValueError(
"FILE references are not considered references with a record type")
return datatype
Loading