|
6 | 6 | import logging |
7 | 7 | import os |
8 | 8 | import time |
| 9 | +import uuid |
9 | 10 | from collections import deque |
10 | 11 | from datetime import datetime, timedelta, timezone |
11 | 12 | from typing import Final, Optional |
12 | | -import uuid |
13 | 13 |
|
14 | 14 | from matlab_proxy import util |
15 | 15 | from matlab_proxy.constants import ( |
16 | 16 | CONNECTOR_SECUREPORT_FILENAME, |
17 | | - MATLAB_LOGS_FILE_NAME, |
18 | 17 | IS_CONCURRENCY_CHECK_ENABLED, |
| 18 | + MATLAB_LOGS_FILE_NAME, |
19 | 19 | USER_CODE_OUTPUT_FILE_NAME, |
20 | 20 | ) |
21 | | - |
22 | 21 | from matlab_proxy.settings import get_process_startup_timeout |
23 | | - |
24 | 22 | from matlab_proxy.util import mw, mwi, system, windows |
25 | 23 | from matlab_proxy.util.mwi import environment_variables as mwi_env |
26 | 24 | from matlab_proxy.util.mwi import token_auth |
@@ -675,12 +673,6 @@ async def __setup_env_for_matlab(self) -> dict: |
675 | 673 | matlab_env["MLM_WEB_LICENSE"] = "true" |
676 | 674 | matlab_env["MLM_WEB_USER_CRED"] = access_token_data["token"] |
677 | 675 | matlab_env["MLM_WEB_ID"] = self.licensing["entitlement_id"] |
678 | | - matlab_env["MW_LOGIN_EMAIL_ADDRESS"] = self.licensing["email_addr"] |
679 | | - matlab_env["MW_LOGIN_FIRST_NAME"] = self.licensing["first_name"] |
680 | | - matlab_env["MW_LOGIN_LAST_NAME"] = self.licensing["last_name"] |
681 | | - matlab_env["MW_LOGIN_DISPLAY_NAME"] = self.licensing["display_name"] |
682 | | - matlab_env["MW_LOGIN_USER_ID"] = self.licensing["user_id"] |
683 | | - matlab_env["MW_LOGIN_PROFILE_ID"] = self.licensing["profile_id"] |
684 | 676 |
|
685 | 677 | matlab_env["MHLM_CONTEXT"] = ( |
686 | 678 | "MATLAB_JAVASCRIPT_DESKTOP" |
|
0 commit comments