mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-03 16:02:04 +00:00
keep command on the obbject so it can be shown on the results
This commit is contained in:
@@ -162,6 +162,9 @@ class PlatformController(BaseController):
|
||||
if max_obbjects_exceeded:
|
||||
session.obbject_registry.remove()
|
||||
|
||||
# use the obbject to store the command so we can display it later on results
|
||||
obbject.extra["command"] = f"{title} {' '.join(other_args)}"
|
||||
|
||||
session.obbject_registry.register(obbject)
|
||||
# we need to force to re-link so that the new obbject
|
||||
# is immediately available for data processing commands
|
||||
|
||||
Reference in New Issue
Block a user