the-deep/server

View on GitHub
apps/analysis/serializers.py

Summary

Maintainability
A
2 hrs
Test Coverage
A
91%

Showing 3 of 3 total issues

File serializers.py has 1008 lines of code (exceeds 999 allowed). Consider refactoring.
Open

import logging
from typing import Callable
from django.conf import settings
from django.shortcuts import get_object_or_404
 
 
Severity: Major
Found in apps/analysis/serializers.py - About 2 hrs to fix

    XXX found
    Open

    # XXX: This is a custom mixin where we delete first and then create to avoid duplicate key value
    Severity: Minor
    Found in apps/analysis/serializers.py by fixme

    XXX found
    Open

    # XXX: This is a custom mixin where we delete first and then create to avoid duplicate key value
    Severity: Minor
    Found in apps/analysis/serializers.py by fixme

    There are no issues that match your filters.

    Category
    Status