Consistent maximum lengths for DataImport creation
Closes #653 (closed)
- The
DataImport.best_class
CharField is updated to not exceed 36 characters because it is either a boolean as a string ("True"
or"False"
), or a UUID:len(str(uuid4())) == 36
. - The
DataImport.name_contains
CharField can now go up to 250 characters because theElement.name
field has a length of 250 characters. - The
process_name
,name
andtype
serializer fields onCreateElementsWorkflow
are updated to include - There were no unit tests for
process_name
at all.
Edited by Erwan Rouchet