Showing 114 of 175 total issues
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(MISSING_NOTE_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(TOO_MANY_LIBRARIES_SPECIFIED_ERROR)
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(WRONG_TYPE_ERROR)
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 {}, 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(INVALID_CONTENT_ERROR)
Avoid too many return
statements within this function. Open
Open
return False
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(INVALID_BIBCODE_ERROR)
Avoid too many return
statements within this function. Open
Open
return {}, 200
Avoid too many return
statements within this function. Open
Open
return {}, 400
Avoid too many return
statements within this function. Open
Open
return err(API_MISSING_USER_EMAIL)
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 library_dict, 200
Avoid too many return
statements within this function. Open
Open
return err(dict(body=output_dict.get("error"), number=output_dict.get("status")))
Avoid too many return
statements within this function. Open
Open
return err(NO_PERMISSION_ERROR)