From 056795e73f97c8816881886381dea25a0d455573 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Tue, 15 Oct 2024 16:39:58 +0800 Subject: [PATCH] Revert "type hint" This reverts commit f238078940dd1e07aa44ac8ac241a219227ce2b0. --- stack_orchestrator/deploy/deployment_create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack_orchestrator/deploy/deployment_create.py b/stack_orchestrator/deploy/deployment_create.py index 2ca1cc32..c389b5c2 100644 --- a/stack_orchestrator/deploy/deployment_create.py +++ b/stack_orchestrator/deploy/deployment_create.py @@ -422,7 +422,7 @@ def _copy_files_to_directory(file_paths: List[Path], directory: Path): copy(path, os.path.join(directory, os.path.basename(path))) -def _create_deployment_file(deployment_dir: Path, cluster: str | None): +def _create_deployment_file(deployment_dir: Path, cluster): deployment_file_path = deployment_dir.joinpath(constants.deployment_file_name) if cluster is None: cluster = f"{constants.cluster_name_prefix}{token_hex(8)}"