scitran/core

View on GitHub
api/dao/dbutil.py

Summary

Maintainability
A
1 hr
Test Coverage

Function try_replace_one has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

def try_replace_one(db, coll_name, query, update, upsert=False):
Severity: Minor
Found in api/dao/dbutil.py - About 35 mins to fix

    Function fault_tolerant_replace_one has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    def fault_tolerant_replace_one(db, coll_name, query, update, upsert=False):
    Severity: Minor
    Found in api/dao/dbutil.py - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status