Skip to content

Commit d39d722

Browse files
authored
fix: extra parameter encoding (#179)
1 parent 5018fba commit d39d722

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/emd/sdk/deploy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import os
33
import io
44
import time
5+
import shlex
56
from typing import Optional
67

78
import boto3
@@ -404,7 +405,7 @@ def deploy_local(
404405
f" --backend_type {engine_type}"
405406
f" --framework_type {framework_type}"
406407
f" --region '{LOCAL_REGION}'"
407-
f" --extra_params '{extra_params}'"
408+
f" --extra_params {shlex.quote(extra_params)}"
408409
)
409410
logger.info(f"pipeline cmd: {pipeline_cmd}")
410411
assert (

0 commit comments

Comments
 (0)