usaspending_api/disaster/v2/views/disaster_base.py
File disaster_base.py
has 382 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import json
from datetime import date
from django.db.models import Case, Count, DecimalField, F, Max, Q, Sum, Value, When
from django.db.models.functions import Coalesce