def METHOD_NAME(
    self,
    account: str,
    begin_date: datetime.date,
    end_date: datetime.date,
) -> dict[str, Decimal]:
    """Calculate the budget for an account in an interval."""
    return calculate_budget(
        self.budget_entries,
        account,
        begin_date,
        end_date,
    )