Skip to content

Commit

Permalink
fix(api): fix param name for consistency in delete api (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
shcheklein authored Jan 31, 2025
1 parent 2a4693e commit aed4ae7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/datachain/remote/studio.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def rm_dataset(
"datachain/datasets",
{
"dataset_name": name,
"version": version,
"dataset_version": version,
"force": force,
},
method="DELETE",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli_studio.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def test_studio_rm_dataset(capsys, mocker):
assert last_request.json() == {
"dataset_name": "name",
"team_name": "team_name",
"version": 1,
"dataset_version": 1,
"force": True,
}

Expand Down

0 comments on commit aed4ae7

Please sign in to comment.