diff options
Diffstat (limited to 'openbb_platform/openbb/package/fixedincome_spreads.py')
-rw-r--r-- | openbb_platform/openbb/package/fixedincome_spreads.py | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/openbb_platform/openbb/package/fixedincome_spreads.py b/openbb_platform/openbb/package/fixedincome_spreads.py index fdc1773327e..e6aa9492d7c 100644 --- a/openbb_platform/openbb/package/fixedincome_spreads.py +++ b/openbb_platform/openbb/package/fixedincome_spreads.py @@ -39,7 +39,7 @@ class ROUTER_fixedincome_spreads(Container): provider: Annotated[ Optional[Literal["fred"]], OpenBBField( - description="The provider to use for the query, by default None.\n If None, the provider specified in defaults is selected or 'fred' if there is\n no default." + description="The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: fred." ), ] = None, **kwargs @@ -61,9 +61,7 @@ class ROUTER_fixedincome_spreads(Container): maturity : Optional[Literal['3m', '2y']] The maturity provider : Optional[Literal['fred']] - The provider to use for the query, by default None. - If None, the provider specified in defaults is selected or 'fred' if there is - no default. + The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: fred. Returns ------- @@ -99,7 +97,7 @@ class ROUTER_fixedincome_spreads(Container): provider_choices={ "provider": self._get_provider( provider, - "/fixedincome/spreads/tcm", + "fixedincome.spreads.tcm", ("fred",), ) }, @@ -131,7 +129,7 @@ class ROUTER_fixedincome_spreads(Container): provider: Annotated[ Optional[Literal["fred"]], OpenBBField( - description="The provider to use for the query, by default None.\n If None, the provider specified in defaults is selected or 'fred' if there is\n no default." + description="The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: fred." ), ] = None, **kwargs @@ -153,9 +151,7 @@ class ROUTER_fixedincome_spreads(Container): maturity : Optional[Literal['10y', '5y', '1y', '6m', '3m']] The maturity provider : Optional[Literal['fred']] - The provider to use for the query, by default None. - If None, the provider specified in defaults is selected or 'fred' if there is - no default. + The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: fred. Returns ------- @@ -191,7 +187,7 @@ class ROUTER_fixedincome_spreads(Container): provider_choices={ "provider": self._get_provider( provider, - "/fixedincome/spreads/tcm_effr", + "fixedincome.spreads.tcm_effr", ("fred",), ) }, @@ -222,7 +218,7 @@ class ROUTER_fixedincome_spreads(Container): provider: Annotated[ Optional[Literal["fred"]], OpenBBField( - description="The provider to use for the query, by default None.\n If None, the provider specified in defaults is selected or 'fred' if there is\n no default." + description="The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: fred." ), ] = None, **kwargs @@ -245,9 +241,7 @@ class ROUTER_fixedincome_spreads(Container): maturity : Optional[Literal['3m', '6m']] The maturity provider : Optional[Literal['fred']] - The provider to use for the query, by default None. - If None, the provider specified in defaults is selected or 'fred' if there is - no default. + The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: fred. Returns ------- @@ -283,7 +277,7 @@ class ROUTER_fixedincome_spreads(Container): provider_choices={ "provider": self._get_provider( provider, - "/fixedincome/spreads/treasury_effr", + "fixedincome.spreads.treasury_effr", ("fred",), ) }, |