diff options
author | Danglewood <85772166+deeleeramone@users.noreply.github.com> | 2024-06-30 10:05:05 -0700 |
---|---|---|
committer | Danglewood <85772166+deeleeramone@users.noreply.github.com> | 2024-06-30 10:05:05 -0700 |
commit | ac5f32d3ac11206c3a8eb748eb2005c1b249b020 (patch) | |
tree | fbc6629ff9207a60fdae8e3bc16b34d73023f394 | |
parent | 152fa06b120d6a4c5757e1a3701ad46076dfcff4 (diff) |
pylint
-rw-r--r-- | openbb_platform/obbject_extensions/charting/openbb_charting/charting.py | 4 |
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" |