django/db/backends/base/base.py
File base.py
has 616 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import _thread
import copy
import datetime
import logging
import threading
Function __init__
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def __init__(self, settings_dict, alias=DEFAULT_DB_ALIAS):
# Connection related attributes.
# The underlying database connection.
self.connection = None
# `settings_dict` should be a dictionary containing keys such as