Skip to content

Commit

Permalink
Merge branch 'dedicated-deployment-add-arg-duration' of github.com:ro…
Browse files Browse the repository at this point in the history
…boflow/roboflow-python into dedicated-deployment-add-arg-duration
  • Loading branch information
PacificDou committed Aug 15, 2024
2 parents 26fdbce + 87ce48d commit 33a3c60
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions roboflow/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ def add_deployment_parser(subparsers):
"-m", dest="machine_type", help="machine type, run `roboflow deployment machine_type` to see available options"
)
deployment_add_parser.add_argument(
"-t", dest="duration", help="duration, how long you want to keep the deployment (unit: hour, default: 3)",
type=float, default=3
"-t",
dest="duration",
help="duration, how long you want to keep the deployment (unit: hour, default: 3)",
type=float,
default=3,
)
deployment_add_parser.add_argument(
"-e", dest="delete_on_expiration", help="delete when expired (default: True)",
type=bool, default=True
"-e", dest="delete_on_expiration", help="delete when expired (default: True)", type=bool, default=True
)
deployment_add_parser.add_argument(
"-n", dest="deployment_name", help="deployment name, must contain 3-10 lowercase characters"
Expand Down

0 comments on commit 33a3c60

Please sign in to comment.