Skip to content

docs(sdk): fix fr_sk_ key format in core.py + instruments.py docstrings - #60

Merged
sayonfortify merged 1 commit into
mainfrom
fix/sdk-docstring-key-format
Jun 22, 2026
Merged

docs(sdk): fix fr_sk_ key format in core.py + instruments.py docstrings#60
sayonfortify merged 1 commit into
mainfrom
fix/sdk-docstring-key-format

Conversation

@sayonfortify

Copy link
Copy Markdown
Contributor

What & why

Follow-up to #58 (which fixed the README). The in-code docstring examples in core.py (init() + configure() fluent API) and instruments.py still showed api_key="fr-xxx", which is not a valid key format — real keys are fr_sk_<token> (minted by GenerateAPIKey() / validated by ingestion auth). These docstrings render in help() and IDE hovers, so they mislead exactly where developers look.

Changes

  • core.py: 10 occurrences fr-xxx -> fr_sk_...
  • instruments.py: 2 occurrences

Scope / safety

  • First-party code only — no _vendor/ changes, so no re-vendoring needed (per internal-sop/openllmetry/VENDORING_SOP.md, vendoring governs only _vendor/; core.py/instruments.py are first-party).
  • Docstring-only; no behavior change. No tests reference fr-xxx.

Extends the README fix to the in-code docstring examples (rendered in
help()/IDE hovers), which still showed api_key="fr-xxx". Real keys are
fr_sk_<token>. First-party code only — no _vendor/ changes, so no
re-vendoring needed per internal-sop VENDORING_SOP.md.

- core.py: 10 occurrences (init() + configure() fluent-API examples)
- instruments.py: 2 occurrences
@sayonfortify
sayonfortify merged commit b519f31 into main Jun 22, 2026
6 checks passed
@sayonfortify
sayonfortify deleted the fix/sdk-docstring-key-format branch June 22, 2026 15:05
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.

1 participant