sparclclient 1.2.2b10__tar.gz → 1.2.2b11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/PKG-INFO +1 -1
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/sparcl/__init__.py +1 -1
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/sparcl/client.py +2 -2
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/tests/expected_pat.py +16 -5
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/.github/workflows/django.yml +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/.gitignore +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/.pre-commit-config.yaml +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/.readthedocs.yaml +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/LICENSE +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/Makefile +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/README.md +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/make.bat +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/pyproject.toml +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/requirements-client.txt +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/requirements-internal.txt +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/requirements.txt +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/source/conf.py +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/source/index.rst +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/source/sparcl.rst +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/sparcl/Results.py +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/sparcl/benchmarks/__init__.py +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/sparcl/benchmarks/benchmarks.py +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/sparcl/conf.py +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/sparcl/exceptions.py +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/sparcl/fields.py +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/sparcl/gather_2d.py +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/sparcl/notebooks/sparcl-examples.ipynb +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/sparcl/resample_spectra.py +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/sparcl/sparc.ini +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/sparcl/type_conversion.py +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/sparcl/unsupported.py +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/sparcl/utils.py +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/tests/expected_dev1.py +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/tests/methods_tests.py +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/tests/tests_api.py +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/tests/utils.py +0 -0
- {sparclclient-1.2.2b10 → sparclclient-1.2.2b11}/tox.ini +0 -0
|
@@ -163,7 +163,7 @@ class SparclClient: # was SparclApi()
|
|
|
163
163
|
|
|
164
164
|
"""
|
|
165
165
|
|
|
166
|
-
KNOWN_GOOD_API_VERSION =
|
|
166
|
+
KNOWN_GOOD_API_VERSION = 12.0 # @@@ Change when Server version incremented
|
|
167
167
|
|
|
168
168
|
def __init__(
|
|
169
169
|
self,
|
|
@@ -468,7 +468,7 @@ class SparclClient: # was SparclApi()
|
|
|
468
468
|
Example:
|
|
469
469
|
>>> client = SparclClient()
|
|
470
470
|
>>> client.version
|
|
471
|
-
|
|
471
|
+
12.0
|
|
472
472
|
"""
|
|
473
473
|
|
|
474
474
|
if self.apiversion is None:
|
|
@@ -100,11 +100,22 @@ priv = ["SDSS-DR17-test"]
|
|
|
100
100
|
unauth = "test_user_2@noirlab.edu"
|
|
101
101
|
#
|
|
102
102
|
auth_find_1 = auth_find_2 = pub_all + priv
|
|
103
|
-
|
|
103
|
+
# OLD as of July 9, 2024
|
|
104
|
+
#auth_find_3 = f"[DSDENIED] {unauth} is declined access to datasets {priv}"
|
|
105
|
+
auth_find_3 = auth_retrieve_3 = (f"[DSDENIED] uname='{unauth}' is declined "
|
|
106
|
+
f"access to datasets={priv}; "
|
|
107
|
+
f"drs_requested={pub_all + priv} "
|
|
108
|
+
f"my_auth={pub_all}")
|
|
104
109
|
auth_find_4 = auth_find_6 = pub_all
|
|
105
|
-
|
|
106
|
-
#
|
|
110
|
+
# OLD as of July 9, 2024
|
|
111
|
+
#auth_find_5 = f"[DSDENIED] ANONYMOUS is declined access to datasets {priv}"
|
|
112
|
+
auth_find_5 = auth_retrieve_6 = ("[DSDENIED] uname='ANONYMOUS' is declined "
|
|
113
|
+
f"access to datasets={priv}; "
|
|
114
|
+
f"drs_requested={pub_all + priv} "
|
|
115
|
+
f"my_auth={pub_all}")
|
|
107
116
|
auth_retrieve_1 = auth_retrieve_2 = pub_1 + priv
|
|
108
|
-
|
|
117
|
+
# OLD as of July 9, 2024
|
|
118
|
+
#auth_retrieve_3 = f"[DSDENIED] {unauth} is declined access to datasets {priv}"
|
|
109
119
|
auth_retrieve_4 = auth_retrieve_5 = auth_retrieve_7 = auth_retrieve_8 = pub_1
|
|
110
|
-
|
|
120
|
+
# OLD as of July 9, 2024
|
|
121
|
+
#auth_retrieve_6 = f"[DSDENIED] ANONYMOUS is declined access to datasets {priv}" # noqa: E501
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|