-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add FastAPI and SQLModel to third-party tests #11044
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Deploying pydantic-docs with
|
Latest commit: |
ca343f7
|
Status: | ✅ Deploy successful! |
Preview URL: | https://8f6ecfb5.pydantic-docs.pages.dev |
Branch Preview URL: | https://testing-expeirment.pydantic-docs.pages.dev |
CodSpeed Performance ReportMerging #11044 will not alter performanceComparing Summary
|
55d2cd9
to
914f05e
Compare
b7f1c40
to
63136c7
Compare
63136c7
to
30c3aae
Compare
4dab230
to
47137b0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks!

Note, re screenshot above - not sure if we need the ticks as it doesn't display as code on the actions list or actions drilldown.
Also, before we merge this PR, could we add a section to contributing.md
that explains our criteria / process for adding integration tests like this? Ex - # of starts, amount of usage, etc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 files reviewed, 1 total issue(s) found.
The style guide flagged several spelling errors that seemed like false positives. We skipped posting inline suggestions for the following words:
- [Mm]etaclass
f81116c
to
7bd5036
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a bit of workshoping on wording.
|
||
- The project is actively maintained. | ||
- Making use of Pydantic internals (e.g. relying on the [`BaseModel`][pydantic.BaseModel] metaclass, typing utilities). | ||
- The project is popular enough (although small projects can still be included depending on how Pydantic is being used). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like we should quantify this (some # of stars, downloads)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The thing is it really depends on how Pydantic is used. We can have project with 100k stars but if it is only defining simple models (e.g. models for an API client, and types are well contained) then there's no interest in testing it. On the other hand, a project with 200 stars defining complex custom types is more valuable. So it is hard to quantify :/
Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com>
Part of #11160.