Skip to content

Commit baf15e2

Browse files
chore(internal): version bump (#370)
1 parent 80ee75f commit baf15e2

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-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-
".": "0.2.0-alpha.33"
2+
".": "0.2.0-alpha.34"
33
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "openlayer"
3-
version = "0.2.0-alpha.33"
3+
version = "0.2.0-alpha.34"
44
description = "The official Python library for the openlayer API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/openlayer/_utils/_transform.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,11 @@ def _transform_recursive(
173173
# Iterable[T]
174174
or (is_iterable_type(stripped_type) and is_iterable(data) and not isinstance(data, str))
175175
):
176+
# dicts are technically iterable, but it is an iterable on the keys of the dict and is not usually
177+
# intended as an iterable, so we don't transform it.
178+
if isinstance(data, dict):
179+
return cast(object, data)
180+
176181
inner_type = extract_type_arg(stripped_type, 0)
177182
return [_transform_recursive(d, annotation=annotation, inner_type=inner_type) for d in data]
178183

src/openlayer/_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__ = "openlayer"
4-
__version__ = "0.2.0-alpha.33" # x-release-please-version
4+
__version__ = "0.2.0-alpha.34" # x-release-please-version

0 commit comments

Comments
 (0)