From ef405202146e758716455f3522dc863a8cd10b9d Mon Sep 17 00:00:00 2001 From: Alan Gibson Date: Mon, 18 Nov 2024 18:55:15 -0500 Subject: [PATCH] Removed subscript items from typing information for 3.8 compatibility --- onair/src/ai_components/ai_plugin_abstract/ai_plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/onair/src/ai_components/ai_plugin_abstract/ai_plugin.py b/onair/src/ai_components/ai_plugin_abstract/ai_plugin.py index d6537145..dd53a2b8 100644 --- a/onair/src/ai_components/ai_plugin_abstract/ai_plugin.py +++ b/onair/src/ai_components/ai_plugin_abstract/ai_plugin.py @@ -41,7 +41,7 @@ class AIPlugin(ABC): Names for each data point in the OnAIR data frame. """ - def __init__(self, _name: str, _headers: list[str]): + def __init__(self, _name: str, _headers: list): """ Initialize a new AIPlugIn object. @@ -59,8 +59,8 @@ def __init__(self, _name: str, _headers: list[str]): @abstractmethod def update( self, - low_level_data: list[float] = None, - high_level_data: dict[str, dict[str, Any]] = None, + low_level_data: list = None, + high_level_data: dict = None, ) -> None: """ Update the plugin's internal state with new data.