Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "3.18.0"
".": "3.18.1"
}
4 changes: 3 additions & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
configured_endpoints: 103
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-36a6db97756e8658369c9af3c0ac532ecacb032e5b8f6211094dcb4052943ff3.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-95a3d7780935a38e0cf076d4ad2d68bd1a5641bced8398d972db2e92751d364a.yml
openapi_spec_hash: 9ebe818c4ad4f2d9c4e473b5192d7544
config_hash: 3dc5bc1df028fc7301fb2ada9846f038
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 3.18.1 (2025-04-02)

Full Changelog: [v3.18.0...v3.18.1](https://github.com/orbcorp/orb-python/compare/v3.18.0...v3.18.1)

### Chores

* fix typos ([#606](https://github.com/orbcorp/orb-python/issues/606)) ([b6c691e](https://github.com/orbcorp/orb-python/commit/b6c691e84186bb62b295b5d1b01598691174eabe))
* **internal:** minor test fixes ([#608](https://github.com/orbcorp/orb-python/issues/608)) ([7e79541](https://github.com/orbcorp/orb-python/commit/7e79541c498fdde340c4b52abac285bc5a89fd44))

## 3.18.0 (2025-03-20)

Full Changelog: [v3.17.3...v3.18.0](https://github.com/orbcorp/orb-python/compare/v3.17.3...v3.18.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "orb-billing"
version = "3.18.0"
version = "3.18.1"
description = "The official Python library for the orb API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/orb/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ def set_pydantic_config(typ: Any, config: pydantic.ConfigDict) -> None:
setattr(typ, "__pydantic_config__", config) # noqa: B010


# our use of subclasssing here causes weirdness for type checkers,
# our use of subclassing here causes weirdness for type checkers,
# so we just pretend that we don't subclass
if TYPE_CHECKING:
GenericModel = BaseModel
Expand Down
2 changes: 1 addition & 1 deletion src/orb/_utils/_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def _get_annotated_type(type_: type) -> type | None:
def _maybe_transform_key(key: str, type_: type) -> str:
"""Transform the given `data` based on the annotations provided in `type_`.

Note: this function only looks at `Annotated` types that contain `PropertInfo` metadata.
Note: this function only looks at `Annotated` types that contain `PropertyInfo` metadata.
"""
annotated_type = _get_annotated_type(type_)
if annotated_type is None:
Expand Down
2 changes: 1 addition & 1 deletion src/orb/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "orb"
__version__ = "3.18.0" # x-release-please-version
__version__ = "3.18.1" # x-release-please-version
2 changes: 0 additions & 2 deletions tests/api_resources/plans/test_external_plan_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def test_path_params_update(self, client: Orb) -> None:
):
client.plans.external_plan_id.with_raw_response.update(
other_external_plan_id="",
external_plan_id="",
)

@parametrize
Expand Down Expand Up @@ -156,7 +155,6 @@ async def test_path_params_update(self, async_client: AsyncOrb) -> None:
):
await async_client.plans.external_plan_id.with_raw_response.update(
other_external_plan_id="",
external_plan_id="",
)

@parametrize
Expand Down
2 changes: 0 additions & 2 deletions tests/api_resources/test_customers.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,6 @@ def test_path_params_update_by_external_id(self, client: Orb) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
client.customers.with_raw_response.update_by_external_id(
id="",
external_customer_id="",
)


Expand Down Expand Up @@ -1052,5 +1051,4 @@ async def test_path_params_update_by_external_id(self, async_client: AsyncOrb) -
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
await async_client.customers.with_raw_response.update_by_external_id(
id="",
external_customer_id="",
)