Skip to content
Snippets Groups Projects
Commit a9456cad authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: is_reference when None is passed

parent ea5763be
No related branches found
No related tags found
1 merge request!33MAINT: change arguments of create_user
Pipeline #10070 passed
......@@ -66,6 +66,10 @@ def is_reference(datatype):
RecordTypes
"""
if datatype is None:
raise ValueError("Cannot decide whether datatype is reference if None"
" is supplied")
if datatype in [DOUBLE, BOOLEAN, INTEGER, TEXT, DATETIME]:
return False
elif is_list_datatype(datatype):
......
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