Skip to content

chore: update authtoken docstrings and spec commit reference#205

Open
fern-api[bot] wants to merge 4 commits into
mainfrom
fern-bot/2026-07-11_12-54-42_792
Open

chore: update authtoken docstrings and spec commit reference#205
fern-api[bot] wants to merge 4 commits into
mainfrom
fern-bot/2026-07-11_12-54-42_792

Conversation

@fern-api

@fern-api fern-api Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

16.7.1 → 16.7.2

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


✅ Customizations automatically preserved in this update.


Note

Low Risk
Doc and metadata-only API surface; the only runtime nuance is User-Agent no longer reporting 16.7.x unless customized via headers.

Overview
Fern-regenerated 16.7.1 → 16.7.2 release with no method/signature changes.

Authtoken docs now say the token endpoint returns an access token with token expiration information (sync/async clients, raw and wrapped), mirrored in reference.md and bundled openapi.json for POST /v2/auth/token.

Spec tracking updates originGitCommit / specCommit to c61889b06b6ef367f5e7d6aef5f2b8cbca390aa7, bumps sdkVersion in Fern metadata and code-examples.json, and records a new generation in .fern/replay.lock (replay patch still pins pyproject.toml at 16.7.2 and openapi packaging).

HTTP client headers: X-Fern-SDK-Version is 16.7.2, but User-Agent switches from phenoml/16.7.1 to phenoml/0.0.0-fern-placeholder—worth noting for anyone relying on User-Agent for version telemetry.

Reviewed by Cursor Bugbot for commit 888d234. Bugbot is set up for automated code reviews on this repo. Configure here.

fern-api Bot and others added 4 commits July 11, 2026 12:54
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-python-sdk: 5.18.1
… reference

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
Patches applied (1):
  - patch-6516695e: Release 15.0.2: restore bundled openapi.json packaging (#169)

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 888d234. Configure here.


headers: typing.Dict[str, str] = {
"User-Agent": "phenoml/16.7.1",
"User-Agent": "phenoml/0.0.0-fern-placeholder",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

User-Agent left as placeholder

Medium Severity

get_headers now sends User-Agent as phenoml/0.0.0-fern-placeholder instead of the real SDK version. X-Fern-SDK-Version and pyproject.toml correctly say 16.7.2, so the placeholder was not substituted. Every outbound request will advertise an invalid SDK version.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 888d234. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants