From 7059eb14a031f3cd6806be3c99a90c608663445c Mon Sep 17 00:00:00 2001 From: Danglewood <85772166+deeleeramone@users.noreply.github.com> Date: Thu, 23 May 2024 23:20:06 -0700 Subject: [PATCH] fix empty build fail --- openbb_platform/core/openbb_core/app/static/package_builder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openbb_platform/core/openbb_core/app/static/package_builder.py b/openbb_platform/core/openbb_core/app/static/package_builder.py index cbfbfc125b1e..758f2be6f9ae 100644 --- a/openbb_platform/core/openbb_core/app/static/package_builder.py +++ b/openbb_platform/core/openbb_core/app/static/package_builder.py @@ -1686,6 +1686,8 @@ def get_paths(cls, route_map: Dict[str, BaseRoute]) -> Dict[str, Dict[str, Any]] reference: Dict[str, Dict] = {} for path, route in route_map.items(): + # Initialize the provider parameter fields as an empty dictionary + provider_parameter_fields = {"type": ""} # Initialize the reference fields as empty dictionaries reference[path] = {field: {} for field in cls.REFERENCE_FIELDS} # Route method is used to distinguish between GET and POST methods