hubmap-search-sdk 1.0.0a4__tar.gz → 1.0.0a6__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.
- hubmap_search_sdk-1.0.0a6/.release-please-manifest.json +3 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/CHANGELOG.md +18 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/PKG-INFO +1 -1
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/pyproject.toml +3 -2
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/requirements-dev.lock +1 -1
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_base_client.py +40 -2
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_models.py +0 -1
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/_typing.py +1 -1
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_version.py +1 -1
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/conftest.py +1 -1
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/test_models.py +1 -1
- hubmap_search_sdk-1.0.0a4/.release-please-manifest.json +0 -3
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/.gitignore +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/CONTRIBUTING.md +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/LICENSE +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/README.md +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/SECURITY.md +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/api.md +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/bin/check-release-environment +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/bin/publish-pypi +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/examples/.keep +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/mypy.ini +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/noxfile.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/release-please-config.json +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/requirements.lock +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/__init__.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_client.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_compat.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_constants.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_exceptions.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_files.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_qs.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_resource.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_response.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_streaming.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_types.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/__init__.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/_logs.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/_proxy.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/_reflection.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/_streams.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/_sync.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/_transform.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/_utils.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/lib/.keep +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/py.typed +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/__init__.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/add.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/clear_docs.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/indices.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/mapping.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/mget.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/param_search.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/reindex.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/scroll_search.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/search.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/update.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/types/__init__.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/types/add_create_document_params.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/types/add_create_document_with_index_params.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/types/add_update_document_with_scope_params.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/types/index_list_response.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/types/mget_retrieve_multiple_by_index_params.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/types/mget_retrieve_multiple_params.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/types/param_search_execute_params.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/types/scroll_search_create_params.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/types/search_execute_index_query_params.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/types/search_execute_query_params.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/types/update_update_document_at_index_params.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/types/update_update_document_params.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/types/update_update_document_with_scope_params.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/__init__.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/api_resources/__init__.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/api_resources/test_add.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/api_resources/test_clear_docs.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/api_resources/test_indices.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/api_resources/test_mapping.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/api_resources/test_mget.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/api_resources/test_param_search.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/api_resources/test_reindex.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/api_resources/test_scroll_search.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/api_resources/test_search.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/api_resources/test_update.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/sample_file.txt +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/test_client.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/test_deepcopy.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/test_extract_files.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/test_files.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/test_qs.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/test_required_args.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/test_response.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/test_streaming.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/test_transform.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/test_utils/test_proxy.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/test_utils/test_typing.py +0 -0
- {hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/utils.py +0 -0
@@ -1,5 +1,23 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.0.0-alpha.6 (2025-04-17)
|
4
|
+
|
5
|
+
Full Changelog: [v1.0.0-alpha.5...v1.0.0-alpha.6](https://github.com/hubmapconsortium/search-python-sdk/compare/v1.0.0-alpha.5...v1.0.0-alpha.6)
|
6
|
+
|
7
|
+
### Chores
|
8
|
+
|
9
|
+
* **internal:** base client updates ([3106bc7](https://github.com/hubmapconsortium/search-python-sdk/commit/3106bc7baaf6328b44a5793d780df3b4961ce1af))
|
10
|
+
* **internal:** bump pyright version ([df6d9fa](https://github.com/hubmapconsortium/search-python-sdk/commit/df6d9fab3f66c52820d2d52d1e492bbd1418b22a))
|
11
|
+
|
12
|
+
## 1.0.0-alpha.5 (2025-04-15)
|
13
|
+
|
14
|
+
Full Changelog: [v1.0.0-alpha.4...v1.0.0-alpha.5](https://github.com/hubmapconsortium/search-python-sdk/compare/v1.0.0-alpha.4...v1.0.0-alpha.5)
|
15
|
+
|
16
|
+
### Chores
|
17
|
+
|
18
|
+
* **client:** minor internal fixes ([ca092e8](https://github.com/hubmapconsortium/search-python-sdk/commit/ca092e8c959251d34a05301386bb1b9c199b4c04))
|
19
|
+
* **internal:** update pyright settings ([d4ae4c0](https://github.com/hubmapconsortium/search-python-sdk/commit/d4ae4c0a49aa4c028e3115a159f4ffccd73a8156))
|
20
|
+
|
3
21
|
## 1.0.0-alpha.4 (2025-04-12)
|
4
22
|
|
5
23
|
Full Changelog: [v1.0.0-alpha.3...v1.0.0-alpha.4](https://github.com/hubmapconsortium/search-python-sdk/compare/v1.0.0-alpha.3...v1.0.0-alpha.4)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: hubmap_search_sdk
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.0a6
|
4
4
|
Summary: The official Python library for the hubmap-search-sdk API
|
5
5
|
Project-URL: Homepage, https://github.com/hubmapconsortium/search-python-sdk
|
6
6
|
Project-URL: Repository, https://github.com/hubmapconsortium/search-python-sdk
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "hubmap_search_sdk"
|
3
|
-
version = "1.0.0-alpha.
|
3
|
+
version = "1.0.0-alpha.6"
|
4
4
|
description = "The official Python library for the hubmap-search-sdk API"
|
5
5
|
dynamic = ["readme"]
|
6
6
|
license = "MIT"
|
@@ -42,7 +42,7 @@ Repository = "https://github.com/hubmapconsortium/search-python-sdk"
|
|
42
42
|
managed = true
|
43
43
|
# version pins are in requirements-dev.lock
|
44
44
|
dev-dependencies = [
|
45
|
-
"pyright
|
45
|
+
"pyright==1.1.399",
|
46
46
|
"mypy",
|
47
47
|
"respx",
|
48
48
|
"pytest",
|
@@ -147,6 +147,7 @@ exclude = [
|
|
147
147
|
]
|
148
148
|
|
149
149
|
reportImplicitOverride = true
|
150
|
+
reportOverlappingOverload = false
|
150
151
|
|
151
152
|
reportImportCycles = false
|
152
153
|
reportPrivateUsage = false
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_base_client.py
RENAMED
@@ -98,7 +98,11 @@ _StreamT = TypeVar("_StreamT", bound=Stream[Any])
|
|
98
98
|
_AsyncStreamT = TypeVar("_AsyncStreamT", bound=AsyncStream[Any])
|
99
99
|
|
100
100
|
if TYPE_CHECKING:
|
101
|
-
from httpx._config import
|
101
|
+
from httpx._config import (
|
102
|
+
DEFAULT_TIMEOUT_CONFIG, # pyright: ignore[reportPrivateImportUsage]
|
103
|
+
)
|
104
|
+
|
105
|
+
HTTPX_DEFAULT_TIMEOUT = DEFAULT_TIMEOUT_CONFIG
|
102
106
|
else:
|
103
107
|
try:
|
104
108
|
from httpx._config import DEFAULT_TIMEOUT_CONFIG as HTTPX_DEFAULT_TIMEOUT
|
@@ -115,6 +119,7 @@ class PageInfo:
|
|
115
119
|
|
116
120
|
url: URL | NotGiven
|
117
121
|
params: Query | NotGiven
|
122
|
+
json: Body | NotGiven
|
118
123
|
|
119
124
|
@overload
|
120
125
|
def __init__(
|
@@ -130,19 +135,30 @@ class PageInfo:
|
|
130
135
|
params: Query,
|
131
136
|
) -> None: ...
|
132
137
|
|
138
|
+
@overload
|
139
|
+
def __init__(
|
140
|
+
self,
|
141
|
+
*,
|
142
|
+
json: Body,
|
143
|
+
) -> None: ...
|
144
|
+
|
133
145
|
def __init__(
|
134
146
|
self,
|
135
147
|
*,
|
136
148
|
url: URL | NotGiven = NOT_GIVEN,
|
149
|
+
json: Body | NotGiven = NOT_GIVEN,
|
137
150
|
params: Query | NotGiven = NOT_GIVEN,
|
138
151
|
) -> None:
|
139
152
|
self.url = url
|
153
|
+
self.json = json
|
140
154
|
self.params = params
|
141
155
|
|
142
156
|
@override
|
143
157
|
def __repr__(self) -> str:
|
144
158
|
if self.url:
|
145
159
|
return f"{self.__class__.__name__}(url={self.url})"
|
160
|
+
if self.json:
|
161
|
+
return f"{self.__class__.__name__}(json={self.json})"
|
146
162
|
return f"{self.__class__.__name__}(params={self.params})"
|
147
163
|
|
148
164
|
|
@@ -191,6 +207,19 @@ class BasePage(GenericModel, Generic[_T]):
|
|
191
207
|
options.url = str(url)
|
192
208
|
return options
|
193
209
|
|
210
|
+
if not isinstance(info.json, NotGiven):
|
211
|
+
if not is_mapping(info.json):
|
212
|
+
raise TypeError("Pagination is only supported with mappings")
|
213
|
+
|
214
|
+
if not options.json_data:
|
215
|
+
options.json_data = {**info.json}
|
216
|
+
else:
|
217
|
+
if not is_mapping(options.json_data):
|
218
|
+
raise TypeError("Pagination is only supported with mappings")
|
219
|
+
|
220
|
+
options.json_data = {**options.json_data, **info.json}
|
221
|
+
return options
|
222
|
+
|
194
223
|
raise ValueError("Unexpected PageInfo state")
|
195
224
|
|
196
225
|
|
@@ -409,7 +438,8 @@ class BaseClient(Generic[_HttpxClientT, _DefaultStreamT]):
|
|
409
438
|
|
410
439
|
idempotency_header = self._idempotency_header
|
411
440
|
if idempotency_header and options.method.lower() != "get" and idempotency_header not in headers:
|
412
|
-
|
441
|
+
options.idempotency_key = options.idempotency_key or self._idempotency_key()
|
442
|
+
headers[idempotency_header] = options.idempotency_key
|
413
443
|
|
414
444
|
# Don't set these headers if they were already set or removed by the caller. We check
|
415
445
|
# `custom_headers`, which can contain `Omit()`, instead of `headers` to account for the removal case.
|
@@ -946,6 +976,10 @@ class SyncAPIClient(BaseClient[httpx.Client, Stream[Any]]):
|
|
946
976
|
request = self._build_request(options, retries_taken=retries_taken)
|
947
977
|
self._prepare_request(request)
|
948
978
|
|
979
|
+
if options.idempotency_key:
|
980
|
+
# ensure the idempotency key is reused between requests
|
981
|
+
input_options.idempotency_key = options.idempotency_key
|
982
|
+
|
949
983
|
kwargs: HttpxSendArgs = {}
|
950
984
|
if self.custom_auth is not None:
|
951
985
|
kwargs["auth"] = self.custom_auth
|
@@ -1487,6 +1521,10 @@ class AsyncAPIClient(BaseClient[httpx.AsyncClient, AsyncStream[Any]]):
|
|
1487
1521
|
request = self._build_request(options, retries_taken=retries_taken)
|
1488
1522
|
await self._prepare_request(request)
|
1489
1523
|
|
1524
|
+
if options.idempotency_key:
|
1525
|
+
# ensure the idempotency key is reused between requests
|
1526
|
+
input_options.idempotency_key = options.idempotency_key
|
1527
|
+
|
1490
1528
|
kwargs: HttpxSendArgs = {}
|
1491
1529
|
if self.custom_auth is not None:
|
1492
1530
|
kwargs["auth"] = self.custom_auth
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/_typing.py
RENAMED
@@ -110,7 +110,7 @@ def extract_type_var_from_base(
|
|
110
110
|
```
|
111
111
|
"""
|
112
112
|
cls = cast(object, get_origin(typ) or typ)
|
113
|
-
if cls in generic_bases:
|
113
|
+
if cls in generic_bases: # pyright: ignore[reportUnnecessaryContains]
|
114
114
|
# we're given the class directly
|
115
115
|
return extract_type_arg(typ, index)
|
116
116
|
|
@@ -10,7 +10,7 @@ from pytest_asyncio import is_async_test
|
|
10
10
|
from hubmap_search_sdk import HubmapSearchSDK, AsyncHubmapSearchSDK
|
11
11
|
|
12
12
|
if TYPE_CHECKING:
|
13
|
-
from _pytest.fixtures import FixtureRequest
|
13
|
+
from _pytest.fixtures import FixtureRequest # pyright: ignore[reportPrivateImportUsage]
|
14
14
|
|
15
15
|
pytest.register_assert_rewrite("tests.utils")
|
16
16
|
|
@@ -832,7 +832,7 @@ def test_discriminated_unions_invalid_data_uses_cache() -> None:
|
|
832
832
|
|
833
833
|
@pytest.mark.skipif(not PYDANTIC_V2, reason="TypeAliasType is not supported in Pydantic v1")
|
834
834
|
def test_type_alias_type() -> None:
|
835
|
-
Alias = TypeAliasType("Alias", str)
|
835
|
+
Alias = TypeAliasType("Alias", str) # pyright: ignore
|
836
836
|
|
837
837
|
class Model(BaseModel):
|
838
838
|
alias: Alias
|
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
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_exceptions.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/__init__.py
RENAMED
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/_logs.py
RENAMED
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/_proxy.py
RENAMED
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/_reflection.py
RENAMED
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/_streams.py
RENAMED
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/_sync.py
RENAMED
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/_transform.py
RENAMED
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/_utils/_utils.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/__init__.py
RENAMED
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/add.py
RENAMED
File without changes
|
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/indices.py
RENAMED
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/mapping.py
RENAMED
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/mget.py
RENAMED
File without changes
|
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/reindex.py
RENAMED
File without changes
|
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/search.py
RENAMED
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/resources/update.py
RENAMED
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/src/hubmap_search_sdk/types/__init__.py
RENAMED
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
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/api_resources/test_clear_docs.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/api_resources/test_param_search.py
RENAMED
File without changes
|
File without changes
|
{hubmap_search_sdk-1.0.0a4 → hubmap_search_sdk-1.0.0a6}/tests/api_resources/test_scroll_search.py
RENAMED
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
|