Registering more than one version without an identifier will result in a BadRequest response due to the code here:
version_list = [v.get('id', None) for v in self.data['versions']]
if len(version_list) != len(set(version_list)):
logger.error("Duplicate tool version IDs specified.")
raise BadRequest
None values should be excluded from before comparing the list length to the set length.
Registering more than one version without an identifier will result in a
BadRequest
response due to the code here:None
values should be excluded from before comparing the list length to the set length.