mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-02 15:32:04 +00:00
* init * Update provider_interface.py * docstring * pydantic v2 * Update __init__.py * build package v2 support * `alises` to `aliases` Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com> * `alises` to `aliases` Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com> * `alises` to `aliases` Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com> * updates * Update registry.py * validate_arguments -> validate_call * update terminal classes * response_model_by_alias = False * query_params by alias * Update major_indices_constituents.py * add alias to Query in `provider_interface` * yfinance * build package, add param defaults and correct `OBBject` results type * fix cpi validation errors * Update risk_premium.py * fix `forex_pairs` active query param annotation, set default when only 1 provider * fix and refactor intrinio `options_chains` * Update poetry.lock * fix benzinga news, build package, add intrinio fred_historical fetcher * Update extension_map.json * ruff * Update unit_test_generator.py * updates * add `default=None` on Optional fields * `parse_obj` -> `model_validate` * add alias to dup fields on providers with `__alias_dict__`, fix `test_generate_model_docstring` * Update package_builder.py * fix validation errors, fix tests * tests http * `fred_historical` record * Update test_intrinio_fetchers.py * Update test_intrinio_fetchers.py * Update test_intrinio_fetchers.py * Update available_indices.py * Update stock_historical.py * build package * build package without optional * change `SystemSettings` -> `MockSystemSettings` in `test_system_settings.py` * `openbb_figure.py`/`backend.py` terminal changes , update deps/lock files * `linearmodels>4.26` auto installs `setuptools-scm` which cause error messages * clean up * `dev_install.py` for local development * ruff * dup `# noqa` * build * Update bitquery_model.py * records * rec * f * worky? * update `integration_test_generator.py` and `unit_test_generator.py` * renamed test to tests in file * fix import due to change in file name --------- Co-authored-by: Pratyush Shukla <ps4534@nyu.edu> Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
70 lines
1.5 KiB
Python
70 lines
1.5 KiB
Python
### THIS FILE IS AUTO-GENERATED. DO NOT EDIT. ###
|
|
|
|
|
|
from openbb_core.app.static.container import Container
|
|
|
|
|
|
class Extensions(Container):
|
|
# fmt: off
|
|
"""
|
|
Routers:
|
|
/crypto
|
|
/economy
|
|
/fixedincome
|
|
/forex
|
|
/news
|
|
/stocks
|
|
|
|
Extensions:
|
|
- crypto@0.1.0a2
|
|
- economy@0.1.0a2
|
|
- fixedincome@0.1.0a2
|
|
- forex@0.1.0a2
|
|
- news@0.1.0a2
|
|
- stocks@0.1.0a2
|
|
|
|
- benzinga@0.1.0a2
|
|
- fmp@0.1.0a2
|
|
- fred@0.1.0a2
|
|
- intrinio@0.1.0a2
|
|
- polygon@0.1.0a2 """
|
|
# fmt: on
|
|
def __repr__(self) -> str:
|
|
return self.__doc__ or ""
|
|
|
|
@property
|
|
def crypto(self): # route = "/crypto"
|
|
from . import crypto
|
|
|
|
return crypto.ROUTER_crypto(command_runner=self._command_runner)
|
|
|
|
@property
|
|
def economy(self): # route = "/economy"
|
|
from . import economy
|
|
|
|
return economy.ROUTER_economy(command_runner=self._command_runner)
|
|
|
|
@property
|
|
def fixedincome(self): # route = "/fixedincome"
|
|
from . import fixedincome
|
|
|
|
return fixedincome.ROUTER_fixedincome(command_runner=self._command_runner)
|
|
|
|
@property
|
|
def forex(self): # route = "/forex"
|
|
from . import forex
|
|
|
|
return forex.ROUTER_forex(command_runner=self._command_runner)
|
|
|
|
@property
|
|
def news(self): # route = "/news"
|
|
from . import news
|
|
|
|
return news.ROUTER_news(command_runner=self._command_runner)
|
|
|
|
@property
|
|
def stocks(self): # route = "/stocks"
|
|
from . import stocks
|
|
|
|
return stocks.ROUTER_stocks(command_runner=self._command_runner)
|