diff --git a/openbb_sdk/openbb_sdk_core/openbb_sdk_core/app/router.py b/openbb_sdk/openbb_sdk_core/openbb_sdk_core/app/router.py index 7cf34a5dba1..6a8d1871f5b 100644 --- a/openbb_sdk/openbb_sdk_core/openbb_sdk_core/app/router.py +++ b/openbb_sdk/openbb_sdk_core/openbb_sdk_core/app/router.py @@ -209,6 +209,17 @@ class Router: f"Invalid signature: {func.__name__}. standard_params parameter must be of type StandardParams." ) + # TODO: Uncomment if we want extra_params to be mandatory + # if "extra_params" not in func.__annotations__: + # raise AttributeError( + # f"Invalid signature: {func.__name__}. Missing extra_params parameter." + # ) + + # if func.__annotations__["extra_params"] != ExtraParams: + # raise TypeError( + # f"Invalid signature: {func.__name__}. extra_params parameter must be of type ExtraParams." + # ) + @staticmethod def inject_dependency( func: Callable[P, CommandOutput], arg: str, callable_: Any