def _build_ledger_balances_indicator(spec, context): wrapped_spec = LedgerBalancesIndicatorSpec.wrap(spec) return LedgerBalancesIndicator(wrapped_spec)