18F/State-TalentMAP-API

View on GitHub
talentmap_api/bidding/views/bidlist.py

Summary

Maintainability
A
25 mins
Test Coverage

Showing 1 of 1 total issue

Function destroy has a Cognitive Complexity of 8 (exceeds 7 allowed). Consider refactoring.
Open

def destroy(self, request, *args, **kwargs):
'''
Closes or deletes specified bid
 
This endpoint will delete bids which are still in a draft status, but close any other status
Severity: Minor
Found in talentmap_api/bidding/views/bidlist.py - About 25 mins to fix
Category
Status