From 3e258a4f72a8ae40fab9208c7c55d01eaf9b0924 Mon Sep 17 00:00:00 2001 From: Aaron Kanzer Date: Tue, 12 Nov 2024 15:56:50 -0500 Subject: [PATCH] remove is_private kwarg --- dandi/cli/tests/test_instances.py | 5 ----- dandi/consts.py | 3 --- 2 files changed, 8 deletions(-) diff --git a/dandi/cli/tests/test_instances.py b/dandi/cli/tests/test_instances.py index e34b1ef79..192b69659 100644 --- a/dandi/cli/tests/test_instances.py +++ b/dandi/cli/tests/test_instances.py @@ -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" ) diff --git a/dandi/consts.py b/dandi/consts.py index 073ea2afc..8b8e7cd1e 100644 --- a/dandi/consts.py +++ b/dandi/consts.py @@ -102,7 +102,6 @@ class DandiInstance: name: str gui: str | None api: str - is_private: Optional[bool] = None @property def redirector(self) -> None: @@ -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