mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-31 14:31:20 +00:00
test
This commit is contained in:
@@ -110,11 +110,11 @@ class Backend(PyWry):
|
||||
self.init_engine: list = []
|
||||
return pending
|
||||
|
||||
def get_plotly_html(self) -> Path:
|
||||
def get_plotly_html(self) -> str:
|
||||
"""Get the plotly html file."""
|
||||
self.set_window_dimensions()
|
||||
if self.plotly_html.exists():
|
||||
return self.plotly_html
|
||||
return str(self.plotly_html)
|
||||
|
||||
console.print(
|
||||
"[bold red]plotly.html file not found, check the path:[/]"
|
||||
@@ -123,11 +123,11 @@ class Backend(PyWry):
|
||||
self.max_retries = 0 # pylint: disable=W0201
|
||||
raise FileNotFoundError
|
||||
|
||||
def get_table_html(self) -> Path:
|
||||
def get_table_html(self) -> str:
|
||||
"""Get the table html file."""
|
||||
self.set_window_dimensions()
|
||||
if self.table_html.exists():
|
||||
return self.table_html
|
||||
return str(self.table_html)
|
||||
console.print(
|
||||
"[bold red]table.html file not found, check the path:[/]"
|
||||
f"[green]{PLOTS_CORE_PATH / 'table.html'}[/]"
|
||||
|
||||
Reference in New Issue
Block a user