diff options
author | teh_coderer <me@tehcoderer.com> | 2023-05-08 10:06:29 -0400 |
---|---|---|
committer | teh_coderer <me@tehcoderer.com> | 2023-05-08 10:06:29 -0400 |
commit | 240499112b810ddbc985c9f2d6d3bfcc4490224a (patch) | |
tree | cb34364f9d54b0bede0d9fd414866a10d76fc859 | |
parent | fbc7fae15ced9b5df4f7a2b74f92f46db5e217b7 (diff) |
bump pywryfeature/plotly-react
-rw-r--r-- | openbb_terminal/core/plots/backend.py | 10 | ||||
-rw-r--r-- | poetry.lock | 30 | ||||
-rw-r--r-- | pyproject.toml | 2 | ||||
-rw-r--r-- | requirements-full.txt | 2 | ||||
-rw-r--r-- | requirements.txt | 2 |
5 files changed, 23 insertions, 23 deletions
diff --git a/openbb_terminal/core/plots/backend.py b/openbb_terminal/core/plots/backend.py index c91cba2facc..13f613fe8f5 100644 --- a/openbb_terminal/core/plots/backend.py +++ b/openbb_terminal/core/plots/backend.py @@ -110,11 +110,11 @@ class Backend(PyWry): self.init_engine: list = [] return pending - def get_plotly_html(self) -> str: + def get_plotly_html(self) -> Path: """Get the plotly html file.""" self.set_window_dimensions() if self.plotly_html.exists(): - return str(self.plotly_html) + return 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) -> str: + def get_table_html(self) -> Path: """Get the table html file.""" self.set_window_dimensions() if self.table_html.exists(): - return str(self.table_html) + return self.table_html console.print( "[bold red]table.html file not found, check the path:[/]" f"[green]{PLOTS_CORE_PATH / 'table.html'}[/]" @@ -205,7 +205,7 @@ class Backend(PyWry): outgoing = dict( html_path=self.get_plotly_html(), json_data=json_data, - export_image=str(export_image), + export_image=export_image, **self.get_kwargs(command_location), ) self.send_outgoing(outgoing) diff --git a/poetry.lock b/poetry.lock index 97f577cad6e..199f2e4c67e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -6498,25 +6498,25 @@ files = [ [[package]] name = "pywry" -version = "0.5.2" +version = "0.5.3" description = "" category = "main" optional = false python-versions = ">=3.8" files = [ - {file = "pywry-0.5.2-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:68e23f974db0a31e340016300f895bc00cd44fa1194208ddc1820cd23c98ba92"}, - {file = "pywry-0.5.2-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:4b43dc407bd87266a71edf79a568df58291513b78da6cfd0e2a2b4268ccf862f"}, - {file = "pywry-0.5.2-cp310-none-win_amd64.whl", hash = "sha256:957274a1603558a38576e2d04a0db142fb4c7e053c20e5770e5552124d9de906"}, - {file = "pywry-0.5.2-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:e38c11a932f5844c5130a42dd20599c8e608a87bce9499962d454a6f6aa1e35c"}, - {file = "pywry-0.5.2-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:0d310e0c5f415752f19aaf8827c214b34133aa8a4c57509ea1dde12ac0c2cffb"}, - {file = "pywry-0.5.2-cp311-none-win_amd64.whl", hash = "sha256:695b7776e3e1a976578519ea2914e9ae17a72023fe0f6dd49cd680e71bc4bb50"}, - {file = "pywry-0.5.2-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:00a23256553a3badbdc7c028171f9659341cda5dd3e39d4a29fc093caa13a76d"}, - {file = "pywry-0.5.2-cp38-cp38-manylinux_2_28_x86_64.whl", hash = "sha256:7601fedb7dc709a72d3dba975dde871a37445678f738d491ee5d09dc395f8625"}, - {file = "pywry-0.5.2-cp38-none-win_amd64.whl", hash = "sha256:f6a85cbaffbdcbb9ca5c6421c5ed104a7c0a5a59abd3ad11c00f01112036e508"}, - {file = "pywry-0.5.2-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:da4ca7ad6a9c8e05176952d287b847dcd3b171fd292a8af088554b43c2321c9b"}, - {file = "pywry-0.5.2-cp39-cp39-manylinux_2_28_x86_64.whl", hash = "sha256:a02a1d5b4a7ec2833ce0055d93e7efbb0bc8528abf66f819150af20f3cd252e3"}, - {file = "pywry-0.5.2-cp39-none-win_amd64.whl", hash = "sha256:2d8b6488f318101c5c33f7c6abaed34fdc3ad0ae11996e3e933f8c51b4ffccf4"}, - {file = "pywry-0.5.2.tar.gz", hash = "sha256:f23131d5347513aa231a03d1f972704f772d7b1175e38c95668599f560989939"}, + {file = "pywry-0.5.3-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:b39f188a4cec454729ccda9e854a0ad58eedd9bb102ecb01f8fdc08280d44347"}, + {file = "pywry-0.5.3-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:e770ed965ad38a8aa3656740731ebaaed056c4bdef7c3487434e59b24df61d63"}, + {file = "pywry-0.5.3-cp310-none-win_amd64.whl", hash = "sha256:02c27c2be136a7301a930f53daf797944443d2a35aca37040616c9868920a8e0"}, + {file = "pywry-0.5.3-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:778252bf9281773e209284c3a34b18422e1f0921a8af57a52c6a493dfe050434"}, + {file = "pywry-0.5.3-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:736f01abc8f142868b1d8b28d505f972e4c54aea313599151eadd58985a9da56"}, + {file = "pywry-0.5.3-cp311-none-win_amd64.whl", hash = "sha256:254d2222d23d26b68b642c138d64d438b744650a0b39e6672e15b8f031623847"}, + {file = "pywry-0.5.3-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:66be5f3db5eca461ba6704404650d97856670ba678fed716dac52709679eb34e"}, + {file = "pywry-0.5.3-cp38-cp38-manylinux_2_28_x86_64.whl", hash = "sha256:3cb6d72dc60d44a0d2d5a7249751381095ea85a40fa67b90c4755f0a049fdff0"}, + {file = "pywry-0.5.3-cp38-none-win_amd64.whl", hash = "sha256:b380878138fe68ab0b699a5593edd879516a63d457da1ccc72a76297551dc52f"}, + {file = "pywry-0.5.3-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:ee0cf8e355c93da194af734ad164bc28208d5dc15cdc3150b1abe6c5fd46ba92"}, + {file = "pywry-0.5.3-cp39-cp39-manylinux_2_28_x86_64.whl", hash = "sha256:2f0b9e477e9615e68dab7906f6ed6f44e0901f61c8d2d36d3d5688e54a622b2e"}, + {file = "pywry-0.5.3-cp39-none-win_amd64.whl", hash = "sha256:5d0a7f6bbc054ad6afc5bc84a388d45b4fdd9d429c96c32c936b47cc260cbdd9"}, + {file = "pywry-0.5.3.tar.gz", hash = "sha256:8ae6593a1c2cc5c7a747cc8b0af37663f178a596ec17fc7d5c6d8e26b679009a"}, ] [package.dependencies] @@ -9691,4 +9691,4 @@ optimization = ["Riskfolio-Lib"] [metadata] lock-version = "2.0" python-versions = "^3.8,<3.11, !=3.9.7" -content-hash = "7a187d9fd3045fbc04fbc4140afc122d96a26f092908cf63fcefe362e81ea26f" +content-hash = "1c7e6296916614458764240147112988335673f841b43f4347ca5fa54c6fecb6" diff --git a/pyproject.toml b/pyproject.toml index 93449434c50..62a862241e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -101,7 +101,7 @@ jupyterlab-widgets = "^3.0.3" mstarpy = "^0.0.4" packaging = ">=22.0" streamlit = "^1.21.0" -pywry = "^0.5.2" +pywry = "^0.5.3" svglib = "^1.5.0" sparqlwrapper = "^2.0.0" y-py = "!=0.5.5" # Untraceable third level dependency that requires cargo to be built diff --git a/requirements-full.txt b/requirements-full.txt index 7a318f53951..38ecb92eae1 100644 --- a/requirements-full.txt +++ b/requirements-full.txt @@ -267,7 +267,7 @@ pytz==2022.7.1 ; python_version >= "3.8" and python_full_version != "3.9.7" and pywin32-ctypes==0.2.0 ; python_version >= "3.8" and python_version < "3.11" and python_full_version != "3.9.7" and sys_platform == "win32" pywin32==305 ; sys_platform == "win32" and platform_python_implementation != "PyPy" and python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" pywinpty==2.0.10 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" and os_name == "nt" -pywry==0.5.2 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" +pywry==0.5.3 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" pyyaml==6.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" pyzmq==25.0.1 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" qdldl==0.1.5.post3 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" diff --git a/requirements.txt b/requirements.txt index 7e631a6926b..ed9fd11324a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -184,7 +184,7 @@ pytz-deprecation-shim==0.1.0.post0 ; python_version >= "3.8" and python_full_ver pytz==2022.7.1 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" pywin32==305 ; sys_platform == "win32" and platform_python_implementation != "PyPy" and python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" pywinpty==2.0.10 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" and os_name == "nt" -pywry==0.5.2 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" +pywry==0.5.3 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" pyyaml==6.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" pyzmq==25.0.1 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" quandl==3.7.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" |