mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-12-01 13:44:16 +00:00
[Feature] FOMC Documents With Workspace Multi-File Viewer Widget (#7065)
* add endpoint for FOMC documents with multi-file viewer widget in Workspace * handle basic cli * fix router_testers * lint * lint * lint * add widget to default_templates
This commit is contained in:
@@ -89,7 +89,9 @@ class Registry:
|
||||
if hasattr(obbject, "results") and obbject.results:
|
||||
data_schema = (
|
||||
obbject.results[0].model_json_schema()
|
||||
if obbject.results and isinstance(obbject.results, list)
|
||||
if obbject.results
|
||||
and isinstance(obbject.results, list)
|
||||
and hasattr(obbject.results[0], "model_json_schema")
|
||||
else ""
|
||||
)
|
||||
if data_schema and "title" in data_schema:
|
||||
|
||||
Reference in New Issue
Block a user