fix import errors

This commit is contained in:
Diogo Sousa
2023-02-05 19:28:42 +00:00
parent 144af332ce
commit 33f00cac6b
3 changed files with 6 additions and 16 deletions

View File

@@ -20,8 +20,6 @@ from functools import lru_cache
from pathlib import Path
from typing import Dict, List, Optional, Tuple, Union
import pytz
import pandas as pd
from rich.table import Table
import iso8601
import matplotlib
@@ -36,13 +34,12 @@ from holidays import US as us_holidays
from pandas._config.config import get_option
from pandas.plotting import register_matplotlib_converters
from PIL import Image, ImageDraw
from rich.table import Table
from screeninfo import get_monitors
from openbb_terminal import config_plot as cfgPlot
from openbb_terminal import config_terminal as cfg
from openbb_terminal import feature_flags as obbff
from openbb_terminal.core.config import paths
from openbb_terminal.rich_config import console
from openbb_terminal.core.config.paths import (
HOME_DIRECTORY,
USER_EXPORTS_DIRECTORY,

View File

@@ -33,14 +33,11 @@ from openbb_terminal.cryptocurrency.coinbase_helpers import (
CoinbaseProAuth,
make_coinbase_request,
)
from openbb_terminal import config_terminal as cfg
from openbb_terminal.core.config.paths import USER_ENV_FILE
from openbb_terminal.rich_config import console
from openbb_terminal.session.hub_model import patch_user_configs
from openbb_terminal.session.user import User
from openbb_terminal.helper_funcs import request
from openbb_terminal.portfolio.brokers.degiro.degiro_model import DegiroModel
from openbb_terminal.rich_config import console
from openbb_terminal.terminal_helper import suppress_stdout
logger = logging.getLogger(__name__)

View File

@@ -21,13 +21,12 @@ import pandas as pd
from prompt_toolkit import PromptSession
from prompt_toolkit.completion import NestedCompleter
from prompt_toolkit.formatted_text import HTML
import pandas as pd
from openbb_terminal import feature_flags as obbff
from openbb_terminal.session.user import User
from openbb_terminal.terminal_helper import is_installer, is_packaged_application
from openbb_terminal.session import session_controller
from prompt_toolkit.styles import Style
from rich import panel
from openbb_terminal import feature_flags as obbff
from openbb_terminal.session.user import User
from openbb_terminal.session import session_controller
from openbb_terminal.common import feedparser_view
from openbb_terminal.core.config.paths import (
HOME_DIRECTORY,
@@ -38,7 +37,6 @@ from openbb_terminal.core.config.paths import (
USER_ROUTINES_DIRECTORY,
load_dotenv_with_priority,
)
from openbb_terminal.core.log.generation.settings_logger import log_all_settings
from openbb_terminal.helper_funcs import (
EXPORT_ONLY_RAW_DATA_ALLOWED,
check_positive,
@@ -59,11 +57,9 @@ from openbb_terminal.terminal_helper import (
suppress_stdout,
update_terminal,
welcome_message,
is_installer,
)
from openbb_terminal.helper_funcs import parse_and_split_input
from openbb_terminal.keys_model import first_time_user
from openbb_terminal.common import feedparser_view
from openbb_terminal.reports.reports_model import ipykernel_launcher
from openbb_terminal.core.log.generation.custom_logger import log_terminal
# pylint: disable=too-many-public-methods,import-outside-toplevel, too-many-function-args