From f06f3d3f46b525a8330bfe7060792d300f3afe82 Mon Sep 17 00:00:00 2001 From: Partho Sarthi Date: Tue, 24 Oct 2023 17:00:28 -0700 Subject: [PATCH] Fix subscriptable type Signed-off-by: Partho Sarthi --- user_tools/src/spark_rapids_pytools/cloud_api/sp_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_tools/src/spark_rapids_pytools/cloud_api/sp_types.py b/user_tools/src/spark_rapids_pytools/cloud_api/sp_types.py index 766ccc3f6..a884582da 100644 --- a/user_tools/src/spark_rapids_pytools/cloud_api/sp_types.py +++ b/user_tools/src/spark_rapids_pytools/cloud_api/sp_types.py @@ -369,7 +369,7 @@ def validate_env(self): self._handle_inconsistent_configurations(incorrect_envs) def run_sys_cmd(self, - cmd: Union[str, list[str]], + cmd: Union[str, list], cmd_input: str = None, fail_ok: bool = False, env_vars: dict = None) -> str: