Skip to content

Commit ff0fc8c

Browse files
authored
Merge pull request #51 from hubmapconsortium/release-please--branches--main--changes--next
release: 1.0.0-alpha.30
2 parents 4b8594e + 2b2fa4c commit ff0fc8c

File tree

5 files changed

+17
-3
lines changed

5 files changed

+17
-3
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.0.0-alpha.29"
2+
".": "1.0.0-alpha.30"
33
}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.0.0-alpha.30 (2025-09-03)
4+
5+
Full Changelog: [v1.0.0-alpha.29...v1.0.0-alpha.30](https://github.com/hubmapconsortium/search-python-sdk/compare/v1.0.0-alpha.29...v1.0.0-alpha.30)
6+
7+
### Features
8+
9+
* **types:** replace List[str] with SequenceNotStr in params ([7da1d10](https://github.com/hubmapconsortium/search-python-sdk/commit/7da1d10388b1da82efd3eeae1d39695fe4e35126))
10+
311
## 1.0.0-alpha.29 (2025-08-30)
412

513
Full Changelog: [v1.0.0-alpha.28...v1.0.0-alpha.29](https://github.com/hubmapconsortium/search-python-sdk/compare/v1.0.0-alpha.28...v1.0.0-alpha.29)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "hubmap_search_sdk"
3-
version = "1.0.0-alpha.29"
3+
version = "1.0.0-alpha.30"
44
description = "The official Python library for the hubmap-search-sdk API"
55
dynamic = ["readme"]
66
license = "MIT"

src/hubmap_search_sdk/_utils/_transform.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
lru_cache,
1717
is_mapping,
1818
is_iterable,
19+
is_sequence,
1920
)
2021
from .._files import is_base64_file_input
2122
from ._typing import (
@@ -24,6 +25,7 @@
2425
extract_type_arg,
2526
is_iterable_type,
2627
is_required_type,
28+
is_sequence_type,
2729
is_annotated_type,
2830
strip_annotated_type,
2931
)
@@ -184,6 +186,8 @@ def _transform_recursive(
184186
(is_list_type(stripped_type) and is_list(data))
185187
# Iterable[T]
186188
or (is_iterable_type(stripped_type) and is_iterable(data) and not isinstance(data, str))
189+
# Sequence[T]
190+
or (is_sequence_type(stripped_type) and is_sequence(data) and not isinstance(data, str))
187191
):
188192
# dicts are technically iterable, but it is an iterable on the keys of the dict and is not usually
189193
# intended as an iterable, so we don't transform it.
@@ -346,6 +350,8 @@ async def _async_transform_recursive(
346350
(is_list_type(stripped_type) and is_list(data))
347351
# Iterable[T]
348352
or (is_iterable_type(stripped_type) and is_iterable(data) and not isinstance(data, str))
353+
# Sequence[T]
354+
or (is_sequence_type(stripped_type) and is_sequence(data) and not isinstance(data, str))
349355
):
350356
# dicts are technically iterable, but it is an iterable on the keys of the dict and is not usually
351357
# intended as an iterable, so we don't transform it.

src/hubmap_search_sdk/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "hubmap_search_sdk"
4-
__version__ = "1.0.0-alpha.29" # x-release-please-version
4+
__version__ = "1.0.0-alpha.30" # x-release-please-version

0 commit comments

Comments
 (0)