From 8f31520d54b58b5e82bfb279905e295902e2a9bd Mon Sep 17 00:00:00 2001 From: Minura Punchihewa Date: Thu, 30 May 2024 14:29:40 +0530 Subject: [PATCH] fixed more Flake issues --- .../integrations/handlers/openai_handler/openai_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mindsdb/integrations/handlers/openai_handler/openai_handler.py b/mindsdb/integrations/handlers/openai_handler/openai_handler.py index 49a94cbea19..35167caf3f4 100644 --- a/mindsdb/integrations/handlers/openai_handler/openai_handler.py +++ b/mindsdb/integrations/handlers/openai_handler/openai_handler.py @@ -587,7 +587,7 @@ def _tidy(comp: openai.types.completion.Completion) -> List[Text]: comp (openai.types.completion.Completion): Completion object. Returns: - List[Text]: List of completions as text. + List[Text]: List of completions as text. """ tidy_comps = [] for c in comp.choices: @@ -856,7 +856,7 @@ def describe(self, attribute: Optional[Text] = None) -> pd.DataFrame: attribute (Optional[Text]): Attribute to describe. Can be 'args' or 'metadata'. Returns: - pd.DataFrame: Model metadata or model arguments. + pd.DataFrame: Model metadata or model arguments. """ # TODO: Update to use update() artifacts