Skip to content

fix: allow beta citation file_id in round-tripped params#1466

Open
nightcityblade wants to merge 1 commit intoanthropics:mainfrom
nightcityblade:fix/issue-1450
Open

fix: allow beta citation file_id in round-tripped params#1466
nightcityblade wants to merge 1 commit intoanthropics:mainfrom
nightcityblade:fix/issue-1450

Conversation

@nightcityblade
Copy link
Copy Markdown

Fixes #1450

Summary

  • add optional file_id to BetaCitationPageLocationParam so beta citation page locations can be round-tripped from response -> request
  • add a transform test covering a known optional field with None

Testing

  • python -m ruff check src/anthropic/types/beta/beta_citation_page_location_param.py tests/test_transform.py
  • pytest -q tests/test_transform.py -k known_optional_none_field_is_preserved
  • pytest -q tests/test_transform.py

@nightcityblade nightcityblade requested a review from a team as a code owner April 28, 2026 15:24
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.

BetaCitationPageLocation contains file_id that cannot be roundtripped as a request

1 participant