Skip to content
Open

test #82

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions magemaker/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,13 @@ def runner():
help="Show magemaker version and exit"
)

parser.add_argument(
'--query',
action='query',
help="path to YAML query configuration file",
type=str
)

parser.add_argument(
"--hf",
help="Deploy a Hugging Face Model.",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary of the code diff:

  • Adds a new command-line argument --query to the argument parser.
  • The --query argument:
    • Expects a string (type=str).
    • Has a custom action called 'query'.
    • Accepts a path to a YAML query configuration file (as described in help).

Expand Down
Loading