Skip to content

Commit d182821

Browse files
committed
Revert adding --debug flag
1 parent 9029948 commit d182821

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/sagemaker/hyperpod/cli/commands/inference.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,18 @@
2828
help="Optional. The namespace of the jumpstart model endpoint to create. Default set to 'default'",
2929
)
3030
@click.option("--version", default="1.0", help="Schema version to use")
31-
@click.option("--debug", default=False, help="Enable debug mode")
3231
@generate_click_command(
3332
schema_pkg="hyperpod_jumpstart_inference_template",
3433
registry=JS_REG,
3534
)
3635
@_hyperpod_telemetry_emitter(Feature.HYPERPOD_CLI, "create_js_endpoint_cli")
3736
@handle_cli_exceptions()
38-
def js_create(name, namespace, version, debug, js_endpoint):
37+
def js_create(name, namespace, version, js_endpoint):
3938
"""
4039
Create a jumpstart model endpoint.
4140
"""
4241

43-
js_endpoint.create(name=name, namespace=namespace, debug=debug)
42+
js_endpoint.create(name=name, namespace=namespace)
4443

4544

4645
@click.command("hyp-custom-endpoint")
@@ -52,19 +51,18 @@ def js_create(name, namespace, version, debug, js_endpoint):
5251
help="Optional. The namespace of the jumpstart model endpoint to create. Default set to 'default'",
5352
)
5453
@click.option("--version", default="1.0", help="Schema version to use")
55-
@click.option("--debug", default=False, help="Enable debug mode")
5654
@generate_click_command(
5755
schema_pkg="hyperpod_custom_inference_template",
5856
registry=C_REG,
5957
)
6058
@_hyperpod_telemetry_emitter(Feature.HYPERPOD_CLI, "create_custom_endpoint_cli")
6159
@handle_cli_exceptions()
62-
def custom_create(name, namespace, version, debug, custom_endpoint):
60+
def custom_create(name, namespace, version, custom_endpoint):
6361
"""
6462
Create a custom model endpoint.
6563
"""
6664

67-
custom_endpoint.create(name=name, namespace=namespace, debug=debug)
65+
custom_endpoint.create(name=name, namespace=namespace)
6866

6967

7068
# INVOKE

0 commit comments

Comments
 (0)