diff --git a/.release-please-manifest.json b/.release-please-manifest.json index df3292ba..d6b94479 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.18.0" + ".": "3.18.1" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index d1b66331..f2253470 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index a67df79f..8e8e1fd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/pyproject.toml b/pyproject.toml index 77e5e52f..a5f1c748 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/orb/_models.py b/src/orb/_models.py index b51a1bf5..34935716 100644 --- a/src/orb/_models.py +++ b/src/orb/_models.py @@ -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 diff --git a/src/orb/_utils/_transform.py b/src/orb/_utils/_transform.py index 18afd9d8..7ac2e17f 100644 --- a/src/orb/_utils/_transform.py +++ b/src/orb/_utils/_transform.py @@ -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: diff --git a/src/orb/_version.py b/src/orb/_version.py index 9e68b0f5..07d04435 100644 --- a/src/orb/_version.py +++ b/src/orb/_version.py @@ -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 diff --git a/tests/api_resources/plans/test_external_plan_id.py b/tests/api_resources/plans/test_external_plan_id.py index a73b26ea..0adbc341 100644 --- a/tests/api_resources/plans/test_external_plan_id.py +++ b/tests/api_resources/plans/test_external_plan_id.py @@ -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 @@ -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 diff --git a/tests/api_resources/test_customers.py b/tests/api_resources/test_customers.py index b5cf7ca7..fe2332c9 100644 --- a/tests/api_resources/test_customers.py +++ b/tests/api_resources/test_customers.py @@ -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="", ) @@ -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="", )