Coverage for src/usaspending/models/__init__.py: 100%
21 statements
« prev ^ index » next coverage.py v7.10.6, created at 2025-09-03 17:15 -0700
« prev ^ index » next coverage.py v7.10.6, created at 2025-09-03 17:15 -0700
1"""Model classes for USASpending data structures."""
3from __future__ import annotations
5# Base classes
6from .base_model import BaseModel, ClientAwareModel
7from .lazy_record import LazyRecord
9# Core models
10from .award import Award
11from .contract import Contract
12from .grant import Grant
13from .idv import IDV
14from .loan import Loan
15from .recipient import Recipient
16from .location import Location
17from .transaction import Transaction
18from .funding import Funding
19from .period_of_performance import PeriodOfPerformance
20from .award_factory import create_award
21from .agency import Agency
22from .subtier_agency import SubTierAgency
23from .subaward import SubAward
25# Spending models
26from .spending import Spending
27from .recipient_spending import RecipientSpending
28from .district_spending import DistrictSpending
30__all__ = [
31 # Base classes
32 "BaseModel",
33 "ClientAwareModel",
34 "LazyRecord",
35 # Core models
36 "Award",
37 "Contract",
38 "Grant",
39 "IDV",
40 "Loan",
41 "Recipient",
42 "Location",
43 "Transaction",
44 "Funding",
45 "PeriodOfPerformance",
46 "Agency",
47 "SubTierAgency",
48 "SubAward",
49 # Spending models
50 "Spending",
51 "RecipientSpending",
52 "DistrictSpending",
53 # Factory
54 "create_award",
55]