Skip to content

Commit 0c69a35

Browse files
rashedmytPrabhakar Kumar
authored andcommitted
Update imports to respond to refactoring in matlab-proxy package.
1 parent 52cecf6 commit 0c69a35

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

jupyter_matlab_proxy/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def _get_env(port, base_url):
1616
Returns:
1717
[Dict]: Containing environment settings to launch the MATLAB Desktop.
1818
"""
19-
from matlab_proxy import mwi_environment_variables as mwi_env
19+
from matlab_proxy.util.mwi import environment_variables as mwi_env
2020

2121
return {
2222
mwi_env.get_env_name_app_port(): str(port),
@@ -33,7 +33,7 @@ def setup_matlab():
3333
"""
3434

3535
import matlab_proxy
36-
from matlab_proxy.util import mwi_logger
36+
from matlab_proxy.util.mwi import logger as mwi_logger
3737

3838
logger = mwi_logger.get(init=True)
3939
logger.info("Initializing Jupyter MATLAB Proxy")

tests/test_jupyter_server_proxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os, inspect
44
import matlab_proxy, jupyter_matlab_proxy
55
from pathlib import Path
6-
from matlab_proxy import mwi_environment_variables as mwi_env
6+
from matlab_proxy.util.mwi import environment_variables as mwi_env
77
from jupyter_matlab_proxy.jupyter_config import config
88

99

0 commit comments

Comments
 (0)