Missed like 2

This commit is contained in:
james
2023-02-09 20:25:37 -05:00
parent 99955ace98
commit 13f24dde02
2 changed files with 4 additions and 3 deletions

View File

@@ -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] = []

View File

@@ -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