Skip to content

Commit

Permalink
update CLI for dataset column name changes *API* --> *api*
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanneBogart committed May 23, 2024
1 parent 438cbe7 commit 53d7f48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dataregistry_cli/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def register_dataset(args):
name=args.name,
version_suffix=args.version_suffix,
creation_date=args.creation_date,
access_API=args.access_API,
access_api=args.access_api,
execution_id=args.execution_id,
is_overwritable=args.is_overwritable,
description=args.description,
Expand Down
2 changes: 1 addition & 1 deletion tests/end_to_end_tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_dataset_entry_with_execution(dummy_file):
# Register a dataset with many options
cmd = "register dataset my_cli_dataset3 1.2.3 --location_type dummy"
cmd += " --description 'This is my dataset description'"
cmd += " --access_API 'Awesome API' --owner DESC --owner_type group"
cmd += " --access_api 'Awesome API' --owner DESC --owner_type group"
cmd += " --version_suffix test --creation_date '2020-01-01'"
cmd += " --input_datasets 1 2 --execution_name 'I have given the execution a name'"
cmd += " --is_overwritable"
Expand Down

0 comments on commit 53d7f48

Please sign in to comment.