From 9f76e7eb054a8151a3c58d2eab606a4cc971d537 Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Wed, 5 Jul 2023 18:23:07 +0100 Subject: [PATCH] add to_chart placeholder --- .../openbb_sdk_core/app/model/command_output.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openbb_sdk/openbb_sdk_core/openbb_sdk_core/app/model/command_output.py b/openbb_sdk/openbb_sdk_core/openbb_sdk_core/app/model/command_output.py index 64e9ec27628..e97b5cab2e8 100644 --- a/openbb_sdk/openbb_sdk_core/openbb_sdk_core/app/model/command_output.py +++ b/openbb_sdk/openbb_sdk_core/openbb_sdk_core/app/model/command_output.py @@ -66,3 +66,7 @@ class CommandOutput(GenericModel, Generic[T], Tagged): results[field] = df[field].tolist() return results + + def to_chart(self): + """Converts results field to chart.""" + raise NotImplementedError