diff options
Diffstat (limited to 'openbb_terminal/core/sdk/sdk_helpers.py')
-rw-r--r-- | openbb_terminal/core/sdk/sdk_helpers.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/openbb_terminal/core/sdk/sdk_helpers.py b/openbb_terminal/core/sdk/sdk_helpers.py index 0fc306974f3..bc6ae8b3adb 100644 --- a/openbb_terminal/core/sdk/sdk_helpers.py +++ b/openbb_terminal/core/sdk/sdk_helpers.py @@ -1,6 +1,5 @@ """OpenBB Terminal SDK Helpers.""" - import json from inspect import signature from logging import Logger, getLogger @@ -49,9 +48,7 @@ def clean_attr_desc(attr: Optional[Any] = None) -> Optional[str]: return ( attr.__doc__.splitlines()[1].lstrip() if not attr.__doc__.splitlines()[0] - else attr.__doc__.splitlines()[0].lstrip() - if attr.__doc__ - else "" + else attr.__doc__.splitlines()[0].lstrip() if attr.__doc__ else "" ) @@ -123,7 +120,6 @@ class Operation: class Category: - """The base class that all categories must inherit from.""" _location_path: str = "" |