Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nicole Stock <nicoleelizabeth888@gmail.com>
  • Loading branch information
asmacdo and NEStock authored Feb 12, 2025
1 parent 2a685d5 commit a0be2e6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions dandi/cli/tests/test_instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_cmd_instances(monkeypatch):
"ember:\n"
" api: https://api-dandi.emberarchive.org/api\n"
" gui: https://dandi.emberarchive.org\n"
"ember-sandbox:\n"
" api: https://api-dandi-sandbox.emberarchive.org/api\n"
" gui: https://dandi-sandbox.emberarchive.org\n"
"ember-staging:\n"
" api: https://api-dandi-staging.emberarchive.org/api\n"
" gui: https://dandi-staging.emberarchive.org\n"
)
8 changes: 4 additions & 4 deletions dandi/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ def urls(self) -> Iterator[str]:
"https://dandi.emberarchive.org",
"https://api-dandi.emberarchive.org/api",
),
"ember-sandbox": DandiInstance(
"ember-sandbox",
"https://dandi-sandbox.emberarchive.org",
"https://api-dandi-sandbox.emberarchive.org/api",
"ember-staging": DandiInstance(
"ember-staging",
"https://dandi-staging.emberarchive.org",
"https://api-dandi-staging.emberarchive.org/api",
),
}
# to map back url: name
Expand Down
6 changes: 3 additions & 3 deletions docs/source/cmdline/instances.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Example output:
linc:
api: https://api.lincbrain.org/api
gui: https://lincbrain.org
ember-sandbox:
api: https://api-dandi-sandbox.emberarchive.org/api
gui: https://dandi-sandbox.emberarchive.org
ember-staging:
api: https://api-dandi-staging.emberarchive.org/api
gui: https://dandi-staging.emberarchive.org
ember:
api: https://api-dandi.emberarchive.org/api
gui: https://dandi.emberarchive.org

0 comments on commit a0be2e6

Please sign in to comment.