From d6a98429e21f5d79783c22fff40aa960cf8cc2b2 Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Sat, 29 Jul 2023 21:14:57 +0100 Subject: [PATCH] add todo --- openbb_sdk/sdk/core/openbb_core/app/router.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openbb_sdk/sdk/core/openbb_core/app/router.py b/openbb_sdk/sdk/core/openbb_core/app/router.py index d84b3ffd15f..1bda623ab9d 100644 --- a/openbb_sdk/sdk/core/openbb_core/app/router.py +++ b/openbb_sdk/sdk/core/openbb_core/app/router.py @@ -260,6 +260,8 @@ class SignatureInspector: callable_=provider_interface.params[model]["extra"], ) + # TODO: Implement the output structure in each endpoint and then just fill + # the genertic with `data_type` data_type = provider_interface.merged_data[model] func.__annotations__["return"] = CommandOutput[GenericDataType[data_type]] elif (