From 9b31e0314e7440833745d01fae01672fa3734ce2 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Sat, 11 Jul 2026 12:54:44 +0000 Subject: [PATCH 1/4] [fern-generated] Update SDK Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 5.18.1 --- .fern/metadata.json | 6 +++--- pyproject.toml | 5 +---- reference.md | 2 +- src/phenoml/authtoken/client.py | 4 ++-- src/phenoml/authtoken/raw_client.py | 4 ++-- src/phenoml/core/client_wrapper.py | 4 ++-- 6 files changed, 11 insertions(+), 14 deletions(-) diff --git a/.fern/metadata.json b/.fern/metadata.json index 80cbdaf..64fbe84 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -8,10 +8,10 @@ "enabled": true } }, - "originGitCommit": "8c63b16b085fcf9b05835232378d834802257e7a", + "originGitCommit": "c61889b06b6ef367f5e7d6aef5f2b8cbca390aa7", "originGitCommitIsDirty": true, "invokedBy": "ci", "requestedVersion": "AUTO", "ciProvider": "unknown", - "sdkVersion": "16.7.1" -} + "sdkVersion": "0.0.0.dev0" +} \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 457a35d..cea8b20 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ dynamic = ["version"] [tool.poetry] name = "phenoml" -version = "16.7.1" +version = "0.0.0.dev0" description = "" readme = "README.md" authors = [] @@ -31,9 +31,6 @@ classifiers = [ packages = [ { include = "phenoml", from = "src"} ] -include = [ - { path = "src/phenoml/openapi/openapi.json", format = ["sdist", "wheel"] } -] [tool.poetry.urls] Repository = 'https://github.com/phenoml/phenoml-python-sdk' diff --git a/reference.md b/reference.md index 2a8cf06..ed0436a 100644 --- a/reference.md +++ b/reference.md @@ -1425,7 +1425,7 @@ client.agent.prompts.patch( OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). Accepts client_id and client_secret in the request body (JSON or form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and -returns an access token with expiration information. +returns an access token with token expiration information. diff --git a/src/phenoml/authtoken/client.py b/src/phenoml/authtoken/client.py index 19ca793..213ea17 100644 --- a/src/phenoml/authtoken/client.py +++ b/src/phenoml/authtoken/client.py @@ -38,7 +38,7 @@ def get_token( OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). Accepts client_id and client_secret in the request body (JSON or form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - returns an access token with expiration information. + returns an access token with token expiration information. Parameters ---------- @@ -105,7 +105,7 @@ async def get_token( OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). Accepts client_id and client_secret in the request body (JSON or form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - returns an access token with expiration information. + returns an access token with token expiration information. Parameters ---------- diff --git a/src/phenoml/authtoken/raw_client.py b/src/phenoml/authtoken/raw_client.py index 925a46e..2bcdb13 100644 --- a/src/phenoml/authtoken/raw_client.py +++ b/src/phenoml/authtoken/raw_client.py @@ -35,7 +35,7 @@ def get_token( OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). Accepts client_id and client_secret in the request body (JSON or form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - returns an access token with expiration information. + returns an access token with token expiration information. Parameters ---------- @@ -139,7 +139,7 @@ async def get_token( OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). Accepts client_id and client_secret in the request body (JSON or form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - returns an access token with expiration information. + returns an access token with token expiration information. Parameters ---------- diff --git a/src/phenoml/core/client_wrapper.py b/src/phenoml/core/client_wrapper.py index b9a8c7e..c03a243 100644 --- a/src/phenoml/core/client_wrapper.py +++ b/src/phenoml/core/client_wrapper.py @@ -33,12 +33,12 @@ def get_headers(self) -> typing.Dict[str, str]: import platform headers: typing.Dict[str, str] = { - "User-Agent": "phenoml/16.7.1", + "User-Agent": "phenoml/0.0.0-fern-placeholder", "X-Fern-Language": "Python", "X-Fern-Runtime": f"python/{platform.python_version()}", "X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}", "X-Fern-SDK-Name": "phenoml", - "X-Fern-SDK-Version": "16.7.1", + "X-Fern-SDK-Version": "0.0.0.dev0", **(self.get_custom_headers() or {}), } token = self._get_token() From 0e4b3aa06b0d341a8f5b3b6881c7f9d071cd4a21 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Sat, 11 Jul 2026 12:54:44 +0000 Subject: [PATCH 2/4] [fern-autoversion] chore: update authtoken docstrings and spec commit reference MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refine wording in the authtoken client docstrings and update the internal OpenAPI spec commit hash. No public API surface changes. Key changes: - Clarify authtoken docstring: "expiration information" → "token expiration information" in sync and async clients (both raw and standard) - Update OpenAPI spec commit reference to 8c63b16b085fcf9b05835232378d834802257e7a - Bump code-examples.json sdkVersion metadata 🌿 Generated with Fern --- .fern/metadata.json | 2 +- pyproject.toml | 2 +- src/phenoml/core/client_wrapper.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.fern/metadata.json b/.fern/metadata.json index 64fbe84..0e2364d 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -13,5 +13,5 @@ "invokedBy": "ci", "requestedVersion": "AUTO", "ciProvider": "unknown", - "sdkVersion": "0.0.0.dev0" + "sdkVersion": "16.7.2" } \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index cea8b20..7e2d24e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ dynamic = ["version"] [tool.poetry] name = "phenoml" -version = "0.0.0.dev0" +version = "16.7.2" description = "" readme = "README.md" authors = [] diff --git a/src/phenoml/core/client_wrapper.py b/src/phenoml/core/client_wrapper.py index c03a243..c2987a2 100644 --- a/src/phenoml/core/client_wrapper.py +++ b/src/phenoml/core/client_wrapper.py @@ -38,7 +38,7 @@ def get_headers(self) -> typing.Dict[str, str]: "X-Fern-Runtime": f"python/{platform.python_version()}", "X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}", "X-Fern-SDK-Name": "phenoml", - "X-Fern-SDK-Version": "0.0.0.dev0", + "X-Fern-SDK-Version": "16.7.2", **(self.get_custom_headers() or {}), } token = self._get_token() From eff5e808a7670ea1fb79c15c39ab9c1f03b05871 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Sat, 11 Jul 2026 12:54:45 +0000 Subject: [PATCH 3/4] [fern-replay] Applied customizations Patches applied (1): - patch-6516695e: Release 15.0.2: restore bundled openapi.json packaging (#169) --- .fern/replay.lock | 27 +++++++++++++++++++++------ pyproject.toml | 3 +++ 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/.fern/replay.lock b/.fern/replay.lock index b2f50ad..91617a1 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -84,22 +84,37 @@ generations: cli_version: unknown generator_versions: fernapi/fern-python-sdk: 5.18.1 -current_generation: ead807fd4d6edd103058e62c2818ab7a992d968b + - commit_sha: 57673d8fc5ad77f7c6bd55c995b84fb20ddba8b9 + tree_hash: f32f2024c37cfd8e1cab5d62731b1be2052958ee + timestamp: 2026-07-11T12:54:34.053Z + cli_version: unknown + generator_versions: + fernapi/fern-python-sdk: 5.18.1 +current_generation: 57673d8fc5ad77f7c6bd55c995b84fb20ddba8b9 patches: - id: patch-6516695e - content_hash: sha256:a48345e5d8e674a0f39f4e05f9904ed26062203c7c8e758256d036c6bee8de59 + content_hash: sha256:408f1c0417ea33eb78649a7a963edb521da8d4275ee0fbf946a6597f9342d99f original_commit: 6516695ecaba47ae4bcc8119acca86a1113adeeb original_message: "Release 15.0.2: restore bundled openapi.json packaging (#169)" original_author: Gavin Sharp - base_generation: ead807fd4d6edd103058e62c2818ab7a992d968b + base_generation: 57673d8fc5ad77f7c6bd55c995b84fb20ddba8b9 files: - pyproject.toml patch_content: | diff --git a/pyproject.toml b/pyproject.toml - index cea8b20..f9bae09 100644 + index cea8b20..61cc0d0 100644 --- a/pyproject.toml +++ b/pyproject.toml - @@ -31,6 +31,9 @@ + @@ -4,7 +4,7 @@ dynamic = ["version"] + + [tool.poetry] + name = "phenoml" + -version = "0.0.0.dev0" + +version = "16.7.2" + description = "" + readme = "README.md" + authors = [] + @@ -31,6 +31,9 @@ classifiers = [ packages = [ { include = "phenoml", from = "src"} ] @@ -117,7 +132,7 @@ patches: [tool.poetry] name = "phenoml" - version = "16.7.1" + version = "16.7.2" description = "" readme = "README.md" authors = [] diff --git a/pyproject.toml b/pyproject.toml index 7e2d24e..61cc0d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,6 +31,9 @@ classifiers = [ packages = [ { include = "phenoml", from = "src"} ] +include = [ + { path = "src/phenoml/openapi/openapi.json", format = ["sdist", "wheel"] } +] [tool.poetry.urls] Repository = 'https://github.com/phenoml/phenoml-python-sdk' From 888d23442e3fab33b9be0050d23c8314a4c30832 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 Jul 2026 12:54:59 +0000 Subject: [PATCH 4/4] chore: sync OpenAPI spec + code-examples for c61889b06b6ef367f5e7d6aef5f2b8cbca390aa7 [skip ci] --- code-examples.json | 4 ++-- src/phenoml/openapi/openapi.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code-examples.json b/code-examples.json index ed1938c..ccad3a9 100644 --- a/code-examples.json +++ b/code-examples.json @@ -2,8 +2,8 @@ "metadata": { "language": "python", "packageName": "phenoml", - "sdkVersion": "16.7.1", - "specCommit": "8c63b16b085fcf9b05835232378d834802257e7a", + "sdkVersion": "16.7.2", + "specCommit": "c61889b06b6ef367f5e7d6aef5f2b8cbca390aa7", "generatorName": "fernapi/fern-python-sdk" }, "renderRules": { diff --git a/src/phenoml/openapi/openapi.json b/src/phenoml/openapi/openapi.json index aca5998..0d8fbc9 100644 --- a/src/phenoml/openapi/openapi.json +++ b/src/phenoml/openapi/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.0.3", "info": { "title": "Phenoml API", - "version": "8c63b16b085fcf9b05835232378d834802257e7a" + "version": "c61889b06b6ef367f5e7d6aef5f2b8cbca390aa7" }, "x-services": [ { @@ -1448,7 +1448,7 @@ "post": { "operationId": "authtoken_getToken", "summary": "Request an access token", - "description": "OAuth 2.0 client credentials token endpoint (RFC 6749 \u00a74.4).\nAccepts client_id and client_secret in the request body (JSON or\nform-encoded) or via Basic Auth header (RFC 6749 \u00a72.3.1), and\nreturns an access token with expiration information.\n", + "description": "OAuth 2.0 client credentials token endpoint (RFC 6749 \u00a74.4).\nAccepts client_id and client_secret in the request body (JSON or\nform-encoded) or via Basic Auth header (RFC 6749 \u00a72.3.1), and\nreturns an access token with token expiration information.\n", "security": [ { "BasicAuth": []