From be25c93f9cd445f4eb94f98be853567a751bb952 Mon Sep 17 00:00:00 2001 From: Danglewood <85772166+deeleeramone@users.noreply.github.com> Date: Mon, 13 May 2024 09:33:34 -0700 Subject: [PATCH] mypy --- .../intrinio/openbb_intrinio/models/forward_pe_estimates.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbb_platform/providers/intrinio/openbb_intrinio/models/forward_pe_estimates.py b/openbb_platform/providers/intrinio/openbb_intrinio/models/forward_pe_estimates.py index 87222cdd7ce7..552db46a76ff 100644 --- a/openbb_platform/providers/intrinio/openbb_intrinio/models/forward_pe_estimates.py +++ b/openbb_platform/providers/intrinio/openbb_intrinio/models/forward_pe_estimates.py @@ -132,8 +132,8 @@ def transform_data( symbols = query.symbol.split(",") if query.symbol else [] if symbols: data.sort( - key=lambda item: ( # type: ignore - symbols.index(item.get("ticker")) + key=lambda item: ( + symbols.index(item.get("ticker")) # type: ignore if item.get("ticker") in symbols else len(symbols) )