Skip to content

Commit c5e2ec0

Browse files
committed
Removed the type variant information from dictionary to support python 3.8 compatibility
1 parent 303908c commit c5e2ec0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

matlab_proxy/app_state.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -628,15 +628,15 @@ async def __setup_env_for_matlab(self) -> dict:
628628

629629
return matlab_env
630630

631-
def __filter_env_variables(env_vars: dict[str, str], prefix: str) -> dict[str, str]:
631+
def __filter_env_variables(env_vars: dict, prefix: str) -> dict:
632632
"""Removes the keys that starts with the prefix supplied to this function
633633
634634
Args:
635-
env_vars (dict[str, str]): dict to be filtered
635+
env_vars (dict): dict to be filtered
636636
prefix (str): starting characters of the keys to be removed
637637
638638
Returns:
639-
dict[str, str]: dict with filtered keys
639+
dict: dict with filtered keys
640640
"""
641641
return {
642642
key: value for key, value in env_vars.items() if not key.startswith(prefix)

0 commit comments

Comments
 (0)