diff --git a/.fern/metadata.json b/.fern/metadata.json index 80cbdaf..0e2364d 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": "16.7.2" +} \ No newline at end of file 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/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/pyproject.toml b/pyproject.toml index 457a35d..61cc0d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ dynamic = ["version"] [tool.poetry] name = "phenoml" -version = "16.7.1" +version = "16.7.2" description = "" readme = "README.md" authors = [] 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..c2987a2 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": "16.7.2", **(self.get_custom_headers() or {}), } token = self._get_token() 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": []