mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
fix docs (#5847)
This commit is contained in:
@@ -39,11 +39,11 @@ We offer three distinct methods for importing your data into the platform.
|
||||
|
||||
## Single Widget
|
||||
|
||||
This method allows users to import an API endpoint that is directly rendered into a table format. While customization is limited, it provides a quick and easy way to visualize your data. More information can be found [here](/pro/single-widget).
|
||||
This method allows users to import an API endpoint that is directly rendered into a table format. While customization is limited, it provides a quick and easy way to visualize your data. More information can be found [here](/pro/main-menu/data-connectors/single-widget).
|
||||
|
||||
## Integrate your own backend
|
||||
|
||||
For those who prefer a more hands-on approach, you can create your own backend. You can either leverage OpenBB's cookie-cutter or build a language-agnostic API. More information can be found [here](/pro/integrate-your-own-backend).
|
||||
For those who prefer a more hands-on approach, you can create your own backend. You can either leverage OpenBB's cookie-cutter or build a language-agnostic API. More information can be found [here](/pro/main-menu/data-connectors/integrate-your-own-backend).
|
||||
|
||||
## Native Integrations
|
||||
|
||||
|
||||
@@ -20,13 +20,13 @@ def main() -> bool:
|
||||
if widget_info.get("disabled", False):
|
||||
continue
|
||||
|
||||
category_1 = widget_info.get("category_1") # this is a mandatory field
|
||||
category_1 = widget_info.get("category") # this is a mandatory field
|
||||
if category_1:
|
||||
# Initialize dict for category_1 within category_root
|
||||
if category_1 not in new_all_widgets:
|
||||
new_all_widgets[category_1] = {}
|
||||
|
||||
category_2 = widget_info.get("category_2") # OPTIONAL field
|
||||
category_2 = widget_info.get("sub_category") # OPTIONAL field
|
||||
if category_2:
|
||||
if category_2 not in new_all_widgets[category_1]:
|
||||
new_all_widgets[category_1][category_2] = []
|
||||
|
||||
Reference in New Issue
Block a user