diff --git a/openbb_platform/obbject_extensions/charting/openbb_charting/utils/helpers.py b/openbb_platform/obbject_extensions/charting/openbb_charting/utils/helpers.py index 2b266b5713e..38b53dbf531 100644 --- a/openbb_platform/obbject_extensions/charting/openbb_charting/utils/helpers.py +++ b/openbb_platform/obbject_extensions/charting/openbb_charting/utils/helpers.py @@ -10,7 +10,11 @@ def get_charting_functions() -> List[str]: implemented_functions = [] for name, obj in getmembers(charting_router, isfunction): - if not name.startswith("_") and "NotImplementedError" not in getsource(obj): + if ( + obj.__module__ == charting_router.__name__ + and not name.startswith("_") + and "NotImplementedError" not in getsource(obj) + ): implemented_functions.append(name) return implemented_functions