Skip to content

Commit

Permalink
Update dx.py
Browse files Browse the repository at this point in the history
  • Loading branch information
austinlocke committed Oct 17, 2024
1 parent 4648201 commit 2e50ab1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/python/dxpy/scripts/dx.py
Original file line number Diff line number Diff line change
Expand Up @@ -1440,6 +1440,8 @@ def new_project(args):
inputs["monthlyStorageLimit"] = args.monthly_storage_limit
if args.default_symlink is not None:
inputs["defaultSymlink"] = json.loads(args.default_symlink)
if args.drive is not None:
inputs["drive"] = args.drive
try:
resp = dxpy.api.project_new(inputs)
if args.brief:
Expand Down Expand Up @@ -5814,7 +5816,8 @@ def __call__(self, parser, namespace, values, option_string=None):
parser_new_project.add_argument('--monthly-compute-limit', type=positive_integer, help='Monthly project spending limit for compute')
parser_new_project.add_argument('--monthly-egress-bytes-limit', type=positive_integer, help='Monthly project spending limit for egress (in Bytes)')
parser_new_project.add_argument('--monthly-storage-limit', type=positive_number, help='Monthly project spending limit for storage')
parser_new_project.add_argument('--default-symlink', help='Default symlink for external store account')
parser_new_project.add_argument('--default-symlink', help='Default symlink for external storage account')
parser_new_project.add_argument('--drive', help='Drive for external storage account')
parser_new_project.set_defaults(func=new_project)
register_parser(parser_new_project, subparsers_action=subparsers_new, categories='fs')

Expand Down

0 comments on commit 2e50ab1

Please sign in to comment.