From 58b30fbbb69889c3147547785e8428788fbd227b Mon Sep 17 00:00:00 2001 From: montezdesousa <79287829+montezdesousa@users.noreply.github.com> Date: Fri, 22 Mar 2024 11:26:00 +0000 Subject: Add TODO in command_runner.py --- openbb_platform/core/openbb_core/app/command_runner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openbb_platform/core/openbb_core/app/command_runner.py b/openbb_platform/core/openbb_core/app/command_runner.py index a68df202fb9..9315af5812f 100644 --- a/openbb_platform/core/openbb_core/app/command_runner.py +++ b/openbb_platform/core/openbb_core/app/command_runner.py @@ -332,6 +332,7 @@ class StaticCommandRunner: user_settings = execution_context.user_settings system_settings = execution_context.system_settings + # TODO: Use execution_context > CommandMap to get the method (GET, POST) # If "data" and "kwargs" are both keys in kwargs, it is a POST command. # We want to unpack the "kwargs" into the kwargs dict. if "data" in kwargs and "kwargs" in kwargs: -- cgit v1.2.3