Skip to content

Commit 9b5ffc2

Browse files
RoshaniNSujeethJinesh
authored andcommitted
Support custom Pathways args. (#364)
1 parent 81004f7 commit 9b5ffc2

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

src/xpk/parser/workload.py

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,39 @@ def set_workload_parsers(workload_parser):
323323
required=False,
324324
)
325325

326+
workload_create_pathways_parser_optional_arguments.add_argument(
327+
'--custom-pathways-server-args',
328+
type=str,
329+
default=None,
330+
help=(
331+
'Provide custom Pathways server args as follows -'
332+
" --custom-pathways-server-args='--arg_1=xxx --arg2=yyy'"
333+
),
334+
required=False,
335+
)
336+
337+
workload_create_pathways_parser_optional_arguments.add_argument(
338+
'--custom-pathways-proxy-server-args',
339+
type=str,
340+
default=None,
341+
help=(
342+
'Provide custom Pathways proxy server args as follows -'
343+
" --custom-pathways-proxy-server-args='--arg_1=xxx --arg2=yyy'"
344+
),
345+
required=False,
346+
)
347+
348+
workload_create_pathways_parser_optional_arguments.add_argument(
349+
'--custom-pathways-worker-args',
350+
type=str,
351+
default=None,
352+
help=(
353+
'Provide custom Pathways worker args as follows -'
354+
" --custom-pathways-worker-args='--arg_1=xxx --arg2=yyy'"
355+
),
356+
required=False,
357+
)
358+
326359
add_shared_workload_create_required_arguments([
327360
workload_create_parser_required_arguments,
328361
workload_create_pathways_parser_required_arguments,

0 commit comments

Comments
 (0)