Skip to content

Commit

Permalink
remove is_private kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Kanzer authored and Aaron Kanzer committed Nov 12, 2024
1 parent 45360f9 commit 3e258a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions dandi/cli/tests/test_instances.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,16 @@ def test_cmd_instances(monkeypatch):
"dandi:\n"
" api: https://api.dandiarchive.org/api\n"
" gui: https://dandiarchive.org\n"
" is_private: null\n"
"dandi-api-local-docker-tests:\n"
f" api: http://{instancehost}:8000/api\n"
f" gui: http://{instancehost}:8085\n"
" is_private: null\n"
"dandi-staging:\n"
" api: https://api-staging.dandiarchive.org/api\n"
" gui: https://gui-staging.dandiarchive.org\n"
" is_private: null\n"
"linc:\n"
" api: https://api.lincbrain.org/api\n"
" gui: https://lincbrain.org\n"
" is_private: true\n"
"linc-staging:\n"
" api: https://staging-api.lincbrain.org/api\n"
" gui: https://staging.lincbrain.org\n"
" is_private: true\n"
)
3 changes: 0 additions & 3 deletions dandi/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ class DandiInstance:
name: str
gui: str | None
api: str
is_private: Optional[bool] = None

@property
def redirector(self) -> None:
Expand Down Expand Up @@ -139,13 +138,11 @@ def urls(self) -> Iterator[str]:
"linc",
"https://lincbrain.org",
"https://api.lincbrain.org/api",
is_private=True
),
"linc-staging": DandiInstance(
"linc-staging",
"https://staging.lincbrain.org",
"https://staging-api.lincbrain.org/api",
is_private=True
)
}
# to map back url: name
Expand Down

0 comments on commit 3e258a4

Please sign in to comment.