Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Include explicit auth call on move cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Kanzer authored and Aaron Kanzer committed Apr 9, 2024
1 parent 9ad0699 commit f1d5e1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lincbrain/move.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@ def move(
raise TypeError("`dandiset` must be a Path when work_on='both'")
local_ds, subpath = find_dandiset_and_subpath(dandiset)
client = DandiAPIClient.for_dandi_instance(dandi_instance)
client.dandi_authenticate()
stack.enter_context(client)
remote_ds = client.get_dandiset(
local_ds.identifier, version_id="draft", lazy=False
Expand Down Expand Up @@ -841,6 +842,7 @@ def move(
else:
local_ds, subpath = find_dandiset_and_subpath(dandiset)
client = DandiAPIClient.for_dandi_instance(dandi_instance)
client.dandi_authenticate()
stack.enter_context(client)
remote_ds = client.get_dandiset(
local_ds.identifier, version_id="draft", lazy=False
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import versioneer

setup_kw = {
"version": versioneer.get_version(),
"version": "0.8.0",
"cmdclass": versioneer.get_cmdclass(),
}
except ImportError:
Expand Down

0 comments on commit f1d5e1b

Please sign in to comment.