summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormontezdesousa <79287829+montezdesousa@users.noreply.github.com>2024-03-22 11:26:00 +0000
committerGitHub <noreply@github.com>2024-03-22 11:26:00 +0000
commit58b30fbbb69889c3147547785e8428788fbd227b (patch)
tree5b693c9fa56b146a91d89c3064f87dc47eb45790
parent0239b10e91abf39dee33184ac136301d94667e68 (diff)
Add TODO in command_runner.pybugfix/package-builder-kwargs
-rw-r--r--openbb_platform/core/openbb_core/app/command_runner.py1
1 files changed, 1 insertions, 0 deletions
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: