mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 13:32:08 +00:00
fixing remains of oobject
This commit is contained in:
@@ -274,7 +274,7 @@ class StaticCommandRunner:
|
||||
@classmethod
|
||||
def __chart(
|
||||
cls,
|
||||
OBBject: OBBject,
|
||||
obbject: OBBject,
|
||||
user_settings: UserSettings,
|
||||
system_settings: SystemSettings,
|
||||
route: str,
|
||||
|
||||
@@ -182,7 +182,7 @@ class LoggingManager(metaclass=SingletonMeta):
|
||||
self,
|
||||
user_settings: UserSettings,
|
||||
system_settings: SystemSettings,
|
||||
OBBject: OBBject,
|
||||
obbject: OBBject,
|
||||
route: str,
|
||||
func: Callable,
|
||||
kwargs: Dict[str, Any],
|
||||
@@ -196,7 +196,7 @@ class LoggingManager(metaclass=SingletonMeta):
|
||||
User Settings object.
|
||||
system_settings : SystemSettings
|
||||
System Settings object.
|
||||
OBBject : OBBject
|
||||
obbject : OBBject
|
||||
OBBject object containing command output and error information.
|
||||
route : str
|
||||
Route for the command.
|
||||
|
||||
@@ -48,7 +48,7 @@ def filter_inputs(**kwargs) -> dict:
|
||||
return kwargs
|
||||
|
||||
|
||||
def filter_output(OBBject: OBBject) -> OBBject:
|
||||
def filter_output(obbject: OBBject) -> OBBject:
|
||||
"""Filter command output."""
|
||||
if obbject.warnings:
|
||||
for w in obbject.warnings:
|
||||
|
||||
@@ -39,6 +39,7 @@ def test_filter_inputs_df():
|
||||
|
||||
def test_filter_output():
|
||||
"""Test filter_output."""
|
||||
OBBject = filter_output(OBBject())
|
||||
obbject = OBBject()
|
||||
filter_output(obbject)
|
||||
|
||||
assert obbject is not None
|
||||
|
||||
Reference in New Issue
Block a user