app/db/ireporter_db.py
Function add_user
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def add_user(self, first_name, last_name, other_name,phone_number, email, username, password,is_admin, user_id, registered):
Function add_incident
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def add_incident(self, incident_id, created_on, created_by, record_type, incident_comment, location, image, video, status):