Skip to content

Commit

Permalink
rebuild static
Browse files Browse the repository at this point in the history
  • Loading branch information
deeleeramone committed Aug 8, 2024
1 parent b27df0d commit 5830f86
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 112 deletions.
4 changes: 2 additions & 2 deletions openbb_platform/openbb/assets/reference.json
Original file line number Diff line number Diff line change
Expand Up @@ -33211,8 +33211,8 @@
},
"/fixedincome/government/tips_yields": {
"deprecated": {
"flag": true,
"message": "This endpoint is deprecated; use `/fixedincome/bond_indices` instead. Deprecated in OpenBB Platform V4.2 to be removed in V4.5."
"flag": null,
"message": null
},
"description": "Get current Treasury inflation-protected securities yields.",
"examples": "\nExamples\n--------\n\n```python\nfrom openbb import obb\nobb.fixedincome.government.tips_yields(provider='fred')\nobb.fixedincome.government.tips_yields(maturity=10, provider='fred')\n```\n\n",
Expand Down
102 changes: 0 additions & 102 deletions openbb_platform/openbb/package/economy.py
Original file line number Diff line number Diff line change
Expand Up @@ -951,108 +951,6 @@ def country_profile(
)
)

@exception_handler
@validate
def country_profile(
self,
country: Annotated[
Union[str, List[str]],
OpenBBField(
description="The country to get data. Multiple comma separated items allowed for provider(s): econdb."
),
],
provider: Annotated[
Optional[Literal["econdb"]],
OpenBBField(
description="The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: econdb."
),
] = None,
**kwargs
) -> OBBject:
"""Get a profile of country statistics and economic indicators.
Parameters
----------
country : Union[str, List[str]]
The country to get data. Multiple comma separated items allowed for provider(s): econdb.
provider : Optional[Literal['econdb']]
The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: econdb.
latest : bool
If True, return only the latest data. If False, return all available data for each indicator. (provider: econdb)
use_cache : bool
If True, the request will be cached for one day.Using cache is recommended to avoid needlessly requesting the same data. (provider: econdb)
Returns
-------
OBBject
results : List[CountryProfile]
Serializable results.
provider : Optional[Literal['econdb']]
Provider name.
warnings : Optional[List[Warning_]]
List of warnings.
chart : Optional[Chart]
Chart object.
extra : Dict[str, Any]
Extra info.
CountryProfile
--------------
country : str
population : Optional[int]
Population.
gdp_usd : Optional[float]
Gross Domestic Product, in billions of USD.
gdp_qoq : Optional[float]
GDP growth quarter-over-quarter change, as a normalized percent.
gdp_yoy : Optional[float]
GDP growth year-over-year change, as a normalized percent.
cpi_yoy : Optional[float]
Consumer Price Index year-over-year change, as a normalized percent.
core_yoy : Optional[float]
Core Consumer Price Index year-over-year change, as a normalized percent.
retail_sales_yoy : Optional[float]
Retail Sales year-over-year change, as a normalized percent.
industrial_production_yoy : Optional[float]
Industrial Production year-over-year change, as a normalized percent.
policy_rate : Optional[float]
Short term policy rate, as a normalized percent.
yield_10y : Optional[float]
10-year government bond yield, as a normalized percent.
govt_debt_gdp : Optional[float]
Government debt as a percent (normalized) of GDP.
current_account_gdp : Optional[float]
Current account balance as a percent (normalized) of GDP.
jobless_rate : Optional[float]
Unemployment rate, as a normalized percent.
Examples
--------
>>> from openbb import obb
>>> obb.economy.country_profile(provider='econdb', country='united_kingdom')
>>> # Enter the country as the full name, or iso code. If `latest` is False, the complete history for each series is returned.
>>> obb.economy.country_profile(country='united_states,jp', latest=False, provider='econdb')
""" # noqa: E501

return self._run(
"/economy/country_profile",
**filter_inputs(
provider_choices={
"provider": self._get_provider(
provider,
"economy.country_profile",
("econdb",),
)
},
standard_params={
"country": country,
},
extra_params=kwargs,
info={"country": {"econdb": {"multiple_items_allowed": True}}},
)
)

@exception_handler
@validate
def cpi(
Expand Down
8 changes: 0 additions & 8 deletions openbb_platform/openbb/package/equity_fundamental.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,6 @@ def balance(
def balance_growth(
self,
symbol: Annotated[str, OpenBBField(description="Symbol to get data for.")],
period: Annotated[
str, OpenBBField(description="Time period of the data to return.")
] = "annual",
limit: Annotated[
Optional[int],
OpenBBField(description="The number of data entries to return."),
Expand Down Expand Up @@ -570,7 +567,6 @@ def balance_growth(
},
standard_params={
"symbol": symbol,
"period": period,
"limit": limit,
},
extra_params=kwargs,
Expand Down Expand Up @@ -872,9 +868,6 @@ def cash(
def cash_growth(
self,
symbol: Annotated[str, OpenBBField(description="Symbol to get data for.")],
period: Annotated[
str, OpenBBField(description="Time period of the data to return.")
] = "annual",
limit: Annotated[
Optional[int],
OpenBBField(description="The number of data entries to return."),
Expand Down Expand Up @@ -1004,7 +997,6 @@ def cash_growth(
},
standard_params={
"symbol": symbol,
"period": period,
"limit": limit,
},
extra_params=kwargs,
Expand Down

0 comments on commit 5830f86

Please sign in to comment.