Skip to content

Commit 42eb4a6

Browse files
release: 1.18.0 (#627)
* chore: fix typos (#626) * codegen metadata * feat(api): api update (#628) * release: 1.18.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 7c59357 commit 42eb4a6

9 files changed

+23
-8
lines changed

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.17.0"
2+
".": "1.18.0"
33
}

.stats.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
configured_endpoints: 41
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-69819ddc6d03624ee8d880317fca03afab50a0a843218f1d9f14616e8a003dad.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-63d6857158c2634529b468b53df0b9c02f42d6f9783399939a38986e3137a86f.yml
3+
openapi_spec_hash: 2c3aea6ae3e0a3dd7ac65c25b8fdc24d
4+
config_hash: 8303e755d3e16cf28542d5f0aec83851

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 1.18.0 (2025-03-27)
4+
5+
Full Changelog: [v1.17.0...v1.18.0](https://github.com/Finch-API/finch-api-python/compare/v1.17.0...v1.18.0)
6+
7+
### Features
8+
9+
* **api:** api update ([#628](https://github.com/Finch-API/finch-api-python/issues/628)) ([76a29b9](https://github.com/Finch-API/finch-api-python/commit/76a29b94aff3e0e7f43b4ffa4925bd53e8726fe5))
10+
11+
12+
### Chores
13+
14+
* fix typos ([#626](https://github.com/Finch-API/finch-api-python/issues/626)) ([632cafa](https://github.com/Finch-API/finch-api-python/commit/632cafab74c4a98a54cd64729512761d1d0a8257))
15+
316
## 1.17.0 (2025-03-25)
417

518
Full Changelog: [v1.16.0...v1.17.0](https://github.com/Finch-API/finch-api-python/compare/v1.16.0...v1.17.0)

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "finch-api"
3-
version = "1.17.0"
3+
version = "1.18.0"
44
description = "The official Python library for the Finch API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/finch/_models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ def set_pydantic_config(typ: Any, config: pydantic.ConfigDict) -> None:
681681
setattr(typ, "__pydantic_config__", config) # noqa: B010
682682

683683

684-
# our use of subclasssing here causes weirdness for type checkers,
684+
# our use of subclassing here causes weirdness for type checkers,
685685
# so we just pretend that we don't subclass
686686
if TYPE_CHECKING:
687687
GenericModel = BaseModel

src/finch/_utils/_transform.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def _get_annotated_type(type_: type) -> type | None:
126126
def _maybe_transform_key(key: str, type_: type) -> str:
127127
"""Transform the given `data` based on the annotations provided in `type_`.
128128
129-
Note: this function only looks at `Annotated` types that contain `PropertInfo` metadata.
129+
Note: this function only looks at `Annotated` types that contain `PropertyInfo` metadata.
130130
"""
131131
annotated_type = _get_annotated_type(type_)
132132
if annotated_type is None:

src/finch/_version.py

+1-1
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__ = "finch"
4-
__version__ = "1.17.0" # x-release-please-version
4+
__version__ = "1.18.0" # x-release-please-version

src/finch/types/sandbox/directory_create_params.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class BodyManager(TypedDict, total=False):
6464

6565

6666
class BodyPhoneNumber(TypedDict, total=False):
67-
data: str
67+
data: Optional[str]
6868

6969
type: Optional[Literal["work", "personal"]]
7070

src/finch/types/sandbox/individual_update_params.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,6 @@ class Email(TypedDict, total=False):
7171

7272

7373
class PhoneNumber(TypedDict, total=False):
74-
data: str
74+
data: Optional[str]
7575

7676
type: Optional[Literal["work", "personal"]]

0 commit comments

Comments
 (0)