<filename>snap_financial_factors/income/income_result.py
from typing import List


class IncomeResult:
    '''
    Expresses the result of an income calculation.

    Duck types with TestResult and BenefitAmountResult across `name`,
    `explanation`, and `sort_order`.
    '''

    def __init__(self,
                 name: str,
                 result: int,
                 explanation: List[str],
                 sort_order: int) -> None:
        self.name = name
        self.result = result
        self.explanation = explanation
        self.sort_order = sort_order

<filename>snap_financial_factors/income/income_result.py
from typing import List


class IncomeResult:
    '''
    Expresses the result of an income calculation.

    Duck types with TestResult and BenefitAmountResult across `name`,
    `explanation`, and `sort_order`.
    '''

    def __init__(self,
                 name: str,
                 result: int,
                 explanation: List[str],
                 sort_order: int) -> None:
        self.name = name
        self.result = result
        self.explanation = explanation
        self.sort_order = sort_order

Expresses the result of an income calculation.      Duck types with TestResult and BenefitAmountResult across `name`,     `explanation`, and `sort_order`.