fedspendingtransparency/usaspending-api

View on GitHub
usaspending_api/search/delta_models/award_search.py

Summary

Maintainability
C
1 day
Test Coverage
A
100%

File award_search.py has 621 lines of code (exceeds 250 allowed). Consider refactoring.
Open

from usaspending_api.awards.v2.lookups.lookups import award_type_mapping

AWARD_SEARCH_COLUMNS = {
    "treasury_account_identifiers": {"delta": "ARRAY<INTEGER>", "postgres": "INTEGER[]", "gold": False},
    "award_id": {"delta": "LONG NOT NULL", "postgres": "BIGINT NOT NULL", "gold": False},
Severity: Major
Found in usaspending_api/search/delta_models/award_search.py - About 1 day to fix

    There are no issues that match your filters.

    Category
    Status