We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f447614 commit ae8d94dCopy full SHA for ae8d94d
dandi/dandiarchive.py
@@ -54,8 +54,9 @@ def navigate_url(url):
54
if published_version:
55
asset_id["version"] = published_version["version"]
56
else:
57
- # TODO: remove `if` after https://github.com/dandi/dandi-api/pull/219 is merged/deployed
58
- asset_id["version"] = r["most_recent_version"]["version"]
+ # TODO: remove `if` after https://github.com/dandi/dandi-api/pull/219
+ # is merged/deployed
59
+ asset_id["version"] = r["most_recent_version"]["version"]
60
args = (asset_id["dandiset_id"], asset_id["version"])
61
kwargs["include_metadata"] = True
62
if asset_id.get("location") or asset_id.get("asset_id"):
0 commit comments