summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanglewood <85772166+deeleeramone@users.noreply.github.com>2024-06-30 10:05:05 -0700
committerDanglewood <85772166+deeleeramone@users.noreply.github.com>2024-06-30 10:05:05 -0700
commitac5f32d3ac11206c3a8eb748eb2005c1b249b020 (patch)
treefbc6629ff9207a60fdae8e3bc16b34d73023f394
parent152fa06b120d6a4c5757e1a3701ad46076dfcff4 (diff)
pylint
-rw-r--r--openbb_platform/obbject_extensions/charting/openbb_charting/charting.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbb_platform/obbject_extensions/charting/openbb_charting/charting.py b/openbb_platform/obbject_extensions/charting/openbb_charting/charting.py
index e757be90869..bfc9527b5fb 100644
--- a/openbb_platform/obbject_extensions/charting/openbb_charting/charting.py
+++ b/openbb_platform/obbject_extensions/charting/openbb_charting/charting.py
@@ -121,7 +121,7 @@ class Charting:
)
return self._functions[adjusted_route]
- def get_params(self) -> Union[ChartParams, Any]:
+ def get_params(self) -> Union[ChartParams, None]:
"""Return the ChartQueryParams class for the function the OBBject was created from.
Without assigning to a variable, it will print the docstring to the console.
@@ -135,7 +135,7 @@ class Charting:
if hasattr(ChartParams, charting_function):
return getattr(ChartParams, charting_function)()
else:
- return help(
+ return help( # pylint: disable=func-returns-value
self._get_chart_function( # pylint: disable=protected-access
self._obbject.extra[ # pylint: disable=protected-access
"metadata"