Files
OpenBB/openbb_platform/openbb/package/__extensions__.py
montezdesousa bcb1f50b05 Refactor package builder (#5880)
* breakdown builder + remove black

* rebuild

* rebuild

* rebuild

* rename method

* format built code without black

* we still lint if it's available

* fix existing tests

* add linter tests

* add black to dev deps

* auto_build as instance method

* reorder methods

* typing

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-12-13 12:13:43 +00:00

117 lines
2.7 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
/currency
/derivatives
/economy
/equity
/etf
/fixedincome
/index
/news
/regulators
Extensions:
- crypto@1.0.0
- currency@1.0.0
- derivatives@1.0.0
- economy@1.0.0
- equity@1.0.0
- etf@1.0.0
- fixedincome@1.0.0
- index@1.0.0
- news@1.0.0
- regulators@1.0.0
- benzinga@1.0.0
- fmp@1.0.0
- fred@1.0.0
- intrinio@1.0.0
- oecd@1.0.0
- polygon@1.0.0
- sec@1.0.0
- tiingo@1.0.0
- tradingeconomics@1.0.0 """
# fmt: on
def __repr__(self) -> str:
return self.__doc__ or ""
@property
def crypto(self):
# pylint: disable=import-outside-toplevel
from . import crypto
return crypto.ROUTER_crypto(command_runner=self._command_runner)
@property
def currency(self):
# pylint: disable=import-outside-toplevel
from . import currency
return currency.ROUTER_currency(command_runner=self._command_runner)
@property
def derivatives(self):
# pylint: disable=import-outside-toplevel
from . import derivatives
return derivatives.ROUTER_derivatives(command_runner=self._command_runner)
@property
def economy(self):
# pylint: disable=import-outside-toplevel
from . import economy
return economy.ROUTER_economy(command_runner=self._command_runner)
@property
def equity(self):
# pylint: disable=import-outside-toplevel
from . import equity
return equity.ROUTER_equity(command_runner=self._command_runner)
@property
def etf(self):
# pylint: disable=import-outside-toplevel
from . import etf
return etf.ROUTER_etf(command_runner=self._command_runner)
@property
def fixedincome(self):
# pylint: disable=import-outside-toplevel
from . import fixedincome
return fixedincome.ROUTER_fixedincome(command_runner=self._command_runner)
@property
def index(self):
# pylint: disable=import-outside-toplevel
from . import index
return index.ROUTER_index(command_runner=self._command_runner)
@property
def news(self):
# pylint: disable=import-outside-toplevel
from . import news
return news.ROUTER_news(command_runner=self._command_runner)
@property
def regulators(self):
# pylint: disable=import-outside-toplevel
from . import regulators
return regulators.ROUTER_regulators(command_runner=self._command_runner)