Skip to content

Commit a933869

Browse files
committed
remove click.style usage
Signed-off-by: redartera <reda@artera.ai>
1 parent 82a89f4 commit a933869

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

flytekit/clis/sdk_in_container/register.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@
141141
type=str,
142142
callback=resource_spec_callback,
143143
help="Override default task resource requests and limits for tasks that have no statically defined resource request and limit. "
144-
f"""Example usage: {click.style("--default-resources 'cpu=1;mem=2Gi;gpu=1'", fg='cyan')} for requests only or """
145-
f"""{click.style("--default-resources 'cpu=(0.5,1);mem=(2Gi,4Gi);gpu=1'", fg="cyan")} to specify both requests and limits""",
144+
"""Example usage: --default-resources 'cpu=1;mem=2Gi;gpu=1' for requests only or """
145+
"""--default-resources 'cpu=(0.5,1);mem=(2Gi,4Gi);gpu=1' to specify both requests and limits""",
146146
)
147147
@click.option(
148148
"--skip-errors",

flytekit/clis/sdk_in_container/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ class RunLevelParams(PyFlyteParams):
207207
type=str,
208208
callback=resource_spec_callback,
209209
help="During fast registration, will override default task resource requests and limits for tasks that have no statically defined resource request and limit. "
210-
f"""Example usage: {click.style("--default-resources 'cpu=1;mem=2Gi;gpu=1'", fg='cyan')} for requests only or """
211-
f"""{click.style("--default-resources 'cpu=(0.5,1);mem=(2Gi,4Gi);gpu=1'", fg="cyan")} to specify both requests and limits""",
210+
"""Example usage: --default-resources 'cpu=1;mem=2Gi;gpu=1' for requests only or """
211+
"""--default-resources 'cpu=(0.5,1);mem=(2Gi,4Gi);gpu=1' to specify both requests and limits""",
212212
)
213213
)
214214
tags: typing.List[str] = make_click_option_field(

0 commit comments

Comments
 (0)