mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-02 23:41:27 +00:00
Missed like 2
This commit is contained in:
@@ -3,7 +3,7 @@ import json
|
||||
import logging
|
||||
import os
|
||||
from pathlib import Path
|
||||
from typing import Dict, List
|
||||
from typing import Dict, List, Optional
|
||||
|
||||
from prompt_toolkit.completion import NestedCompleter
|
||||
|
||||
@@ -41,7 +41,7 @@ class AccountController(BaseController):
|
||||
|
||||
PATH = "/account/"
|
||||
|
||||
def __init__(self, queue: List[str] = None):
|
||||
def __init__(self, queue: Optional[List[str]] = None):
|
||||
super().__init__(queue)
|
||||
self.ROUTINE_FILES: Dict[str, Path] = {}
|
||||
self.REMOTE_CHOICES: List[str] = []
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import logging
|
||||
import os
|
||||
from typing import Optional
|
||||
|
||||
from openbb_terminal.decorators import check_api_key, log_start_end
|
||||
from openbb_terminal.helper_funcs import export_data, print_rich_table
|
||||
@@ -11,7 +12,7 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
@log_start_end(log=logger)
|
||||
@check_api_key(["API_KEY_FINANCIALMODELINGPREP"])
|
||||
def display_quote(symbol: str, export: str = "", sheet_name: str = None):
|
||||
def display_quote(symbol: str, export: str = "", sheet_name: Optional[str] = None):
|
||||
"""Financial Modeling Prep ticker quote
|
||||
|
||||
Parameters
|
||||
|
||||
Reference in New Issue
Block a user