mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
Merge branch 'release/3.1.0' of https://github.com/OpenBB-finance/OpenBBTerminal into release/3.1.0
This commit is contained in:
1
.github/workflows/unit-test.yml
vendored
1
.github/workflows/unit-test.yml
vendored
@@ -332,7 +332,6 @@ jobs:
|
||||
- name: Install dependencies (Bash)
|
||||
shell: bash -l {0}
|
||||
run: |
|
||||
pip install wheel==0.40.0 --user
|
||||
pip install --requirement requirements-full.txt
|
||||
pip uninstall Brotli -y
|
||||
|
||||
|
||||
@@ -448,10 +448,10 @@ class Backend(PyWry):
|
||||
messages_dict = dict(
|
||||
login=dict(
|
||||
message="Welcome to OpenBB Terminal! Please login to continue.",
|
||||
interrupt="Login cancelled. Continuing as guest.",
|
||||
interrupt="Window closed without authentication. Please proceed below.",
|
||||
),
|
||||
logout=dict(
|
||||
message="Sending logout request", interrupt="Continuing as guest."
|
||||
message="Sending logout request", interrupt="Please login to continue."
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
@@ -78,7 +78,6 @@ class ForecastRoot(Category):
|
||||
|
||||
if not lib.FORECASTING_TOOLKIT_ENABLED:
|
||||
# pylint: disable=C0415
|
||||
|
||||
from openbb_terminal.rich_config import console
|
||||
|
||||
console.print(lib.FORECASTING_TOOLKIT_WARNING)
|
||||
|
||||
@@ -178,7 +178,6 @@ class PortfolioPortfolioOptimization(Category):
|
||||
|
||||
if not lib.OPTIMIZATION_TOOLKIT_ENABLED:
|
||||
# pylint: disable=C0415
|
||||
|
||||
from openbb_terminal.rich_config import console
|
||||
|
||||
console.print(lib.OPTIMIZATION_TOOLKIT_WARNING)
|
||||
|
||||
@@ -348,7 +348,9 @@ class BaseController(metaclass=ABCMeta):
|
||||
"I cannot provide",
|
||||
]
|
||||
):
|
||||
console.print(f"[green]Suggested Command:[/green] {response}\n")
|
||||
console.print(
|
||||
f"[green]Suggested Command:[/green] /{response}\n"
|
||||
)
|
||||
|
||||
console.print(
|
||||
"[yellow]Would you like to run this command?(y/n/fb)[/yellow]"
|
||||
|
||||
@@ -1,48 +1,69 @@
|
||||
"""OpenBB Terminal SDK."""
|
||||
|
||||
|
||||
# ######### THIS FILE IS AUTO GENERATED - ANY CHANGES WILL BE VOID ######### #
|
||||
|
||||
|
||||
# flake8: noqa
|
||||
|
||||
|
||||
# pylint: disable=unused-import,wrong-import-order
|
||||
|
||||
|
||||
# pylint: disable=C0302,W0611,R0902,R0903,C0412,C0301,not-callable
|
||||
|
||||
|
||||
import logging
|
||||
|
||||
|
||||
import openbb_terminal.config_terminal as cfg
|
||||
|
||||
|
||||
from openbb_terminal import helper_funcs as helper # noqa: F401
|
||||
|
||||
|
||||
from openbb_terminal.core.plots.plotly_helper import theme # noqa: F401
|
||||
|
||||
|
||||
from openbb_terminal.cryptocurrency.due_diligence.pycoingecko_model import Coin
|
||||
|
||||
|
||||
from openbb_terminal.dashboards.dashboards_controller import DashboardsController
|
||||
|
||||
|
||||
from openbb_terminal.helper_classes import TerminalStyle # noqa: F401
|
||||
|
||||
|
||||
from openbb_terminal.reports import widget_helpers as widgets # noqa: F401
|
||||
|
||||
|
||||
from openbb_terminal.reports.reports_controller import ReportController
|
||||
|
||||
|
||||
import openbb_terminal.core.sdk.sdk_init as lib
|
||||
|
||||
|
||||
from openbb_terminal.core.sdk import (
|
||||
controllers as ctrl,
|
||||
models as model,
|
||||
)
|
||||
|
||||
|
||||
from openbb_terminal.core.session.current_system import get_current_system
|
||||
|
||||
|
||||
from openbb_terminal.core.session.current_user import is_local
|
||||
|
||||
|
||||
from openbb_terminal.terminal_helper import is_auth_enabled
|
||||
|
||||
|
||||
cfg.setup_config_terminal(is_sdk=True)
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
cfg.theme.applyMPLstyle()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user