mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 04:52:07 +00:00
fix for obbject extensions not added in extension map
This commit is contained in:
@@ -137,10 +137,12 @@ class PackageBuilder:
|
||||
groups = [
|
||||
OpenBBGroups.core.value,
|
||||
OpenBBGroups.provider.value,
|
||||
OpenBBGroups.obbject.value,
|
||||
]
|
||||
entry_points_ = [
|
||||
el.core_entry_points,
|
||||
el.provider_entry_points,
|
||||
el.obbject_entry_points,
|
||||
]
|
||||
|
||||
for group, entry_point in zip(groups, entry_points_):
|
||||
@@ -252,7 +254,11 @@ class PackageBuilder:
|
||||
|
||||
add: Set[str] = set()
|
||||
remove: Set[str] = set()
|
||||
groups = ("openbb_core_extension", "openbb_provider_extension")
|
||||
groups = (
|
||||
"openbb_core_extension",
|
||||
"openbb_provider_extension",
|
||||
"openbb_obbject_extension",
|
||||
)
|
||||
for g in groups:
|
||||
built = set(ext_map.get(g, {}))
|
||||
installed = set(
|
||||
@@ -556,7 +562,6 @@ class MethodDefinition:
|
||||
path: str, parameter_map: Dict[str, Parameter]
|
||||
) -> OrderedDict[str, Parameter]:
|
||||
"""Format the params."""
|
||||
|
||||
parameter_map.pop("cc", None)
|
||||
# we need to add the chart parameter here bc of the docstring generation
|
||||
if CHARTING_INSTALLED and path.replace("/", "_")[1:] in Charting.functions():
|
||||
|
||||
Reference in New Issue
Block a user