8000 docs(fields): fix link to union modes by antoni-jamiolkowski · Pull Request #9431 · pydantic/pydantic · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@antoni-jamiolkowski
Copy link
Contributor
@antoni-jamiolkowski antoni-jamiolkowski commented May 13, 2024

Change Summary

The description of the union_mode parameter of the Field function is provided with a link to a nonexistent paragraph on the Standard Library Types page: https://docs.pydantic.dev/latest/api/standard_library_types/#union-mode

I believe that the correct link is: https://docs.pydantic.dev/latest/concepts/unions/#union-modes. It has been changed in this PR.

Related issue number

There is none.

Checklist

  • The pull request title is a good summary of the changes - it will be used in the changelog
  • Unit tests for the changes exist
  • Tests pass on CI
  • Documentation reflects the changes where applicable
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

@github-actions github-actions bot added documentation relnotes-fix Used for bugfixes. relnotes-change Used for changes to existing functionality which don't have a better categorization. labels May 13, 2024
@codspeed-hq
Copy link
codspeed-hq bot commented May 13, 2024

CodSpeed Performance Report

Merging #9431 will not alter performance

Comparing antoni-jamiolkowski:docs-change (8892d16) with main (1ea2116)

Summary

✅ 13 untouched benchmarks

Copy link
Contributor
@sydney-runkle sydney-runkle left a comment

Choose a reason for hiding this comment

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

Looks great, thanks!

@sydney-runkle
Copy link
Contributor

We're working on a fix for the typing extensions tests, and will merge this once that's fixed!

@sydney-runkle
Copy link
Contributor

@antoni-jamiolkowski,

Could you please pull in the changes from main? That should allow tests to pass. Thanks!

@antoni-jamiolkowski
Copy link
Contributor Author

@sydney-runkle,

Sure 🙂

@sydney-runkle sydney-runkle merged commit 0e3337f into pydantic:main May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation relnotes-change Used for changes to existing functionality which don't have a better categorization. relnotes-fix Used for bugfixes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0