Showing 114 of 175 total issues
Avoid too many return
statements within this function. Open
Open
return {'number_added': output_dict.get('number_added'), "bibcodes": output_dict.get('bibcodes')}, 200
Avoid too many return
statements within this function. Open
Open
return err(DUPLICATE_LIBRARY_NAME_ERROR)
Avoid too many return
statements within this function. Open
Open
return err(NO_PERMISSION_ERROR)
Avoid too many return
statements within this function. Open
Open
return err(NO_LIBRARY_SPECIFIED_ERROR)
Avoid too many return
statements within this function. Open
Open
return err(NO_PERMISSION_ERROR)
Avoid too many return
statements within this function. Open
Open
return {}, 400
Avoid too many return
statements within this function. Open
Open
return {}, 400
Avoid too many return
statements within this function. Open
Open
return err(NO_PERMISSION_ERROR)
Avoid too many return
statements within this function. Open
Open
return err(NO_PERMISSION_ERROR)
Avoid too many return
statements within this function. Open
Open
return response, 200
Avoid too many return
statements within this function. Open
Open
return err(NO_PERMISSION_ERROR)
Avoid too many return
statements within this function. Open
Open
return response, 200
Avoid too many return
statements within this function. Open
Open
return {'number_removed': output_dict.get('number_removed'), "bibcodes": output_dict.get('bibcodes')}, 200
Avoid too many return
statements within this function. Open
Open
return err(WRONG_TYPE_ERROR)
Avoid too many return
statements within this function. Open
Open
return err(WRONG_TYPE_ERROR)
Avoid too many return
statements within this function. Open
Open
return err(NO_PERMISSION_ERROR)
Avoid too many return
statements within this function. Open
Open
return {}, 200
Avoid too many return
statements within this function. Open
Open
return output_dict, 200
Avoid too many return
statements within this function. Open
Open
return err(NO_PERMISSION_ERROR)
Avoid too many return
statements within this function. Open
Open
return err(NO_PERMISSION_ERROR)