mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-29 04:32:43 +00:00
display cached results on every platform menu's help
This commit is contained in:
@@ -318,6 +318,11 @@ class PlatformController(BaseController):
|
||||
description=command_description,
|
||||
)
|
||||
|
||||
if session.obbject_registry.obbjects:
|
||||
mt.add_section("Cached Results:\n", leading_new_line=True)
|
||||
for key, value in session.obbject_registry.all.items():
|
||||
mt.add_raw(f"\tOBB{key}: {value['command']}\n")
|
||||
|
||||
session.console.print(text=mt.menu_text, menu=self.PATH)
|
||||
|
||||
settings = session.settings
|
||||
|
||||
Reference in New Issue
Block a user