Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

🐛 Add missingValidationException.__str__ functionality#12972

Closed
tamird wants to merge 1 commit intofastapi:masterfrom
tamird:fix-repr
Closed

🐛 Add missingValidationException.__str__ functionality#12972
tamird wants to merge 1 commit intofastapi:masterfrom
tamird:fix-repr

Conversation

@tamird
Copy link
Contributor

@tamirdtamird commentedNov 22, 2024
edited by YuriiMotov
Loading

Fixes#12125.

UPD YuriiMotov:
The issue is: the code examplein docs should show text version

1 validation errorpath -> item_idvalue is not a valid integer (type=type_error.integer)

But it shows JSON

[{'type': 'int_parsing', 'loc': ('path', 'item_id'), 'msg': 'Input should be a valid integer, unable to parse string as an integer', 'input': 'foo'}]

svlandeg

This comment was marked as resolved.

@svlandegsvlandeg changed the titleAdd missing RequestValidationError.__str__🐛 Add missingRequestValidationError.__str__ functionalityNov 25, 2024
@svlandegsvlandeg added the bugSomething isn't working labelNov 25, 2024
@tamird

This comment was marked as resolved.

@tamird

This comment was marked as off-topic.

@tamird
Copy link
ContributorAuthor

@alejsdev could you please take a look? This is relatively trivial and contains a test as requested by@svlandeg.

@svlandegsvlandeg marked this pull request as draftDecember 17, 2024 13:00
@tamirdtamird marked this pull request as ready for reviewDecember 17, 2024 15:10
@tamird
Copy link
ContributorAuthor

Hello! This is ready for review.

@tiangolo
Copy link
Member

@tamird there's no need to tag individual people nor to keep posting comments.

Your aggressive and demeaning attitude and comments towards others here are not well received and are not appreciated.

This is open source, MIT licensed, free. The result of any work from others here is received by you and/or your employer for free. Neither you nor your employer (it seems Google, from your GitHub) are paying anything to receive this open source project or our work for free. You actually have no particular right to demand reviews, merges, timelines, etc.

I request that you abstain from adding unrequested comments, in particular tagging others or with the only intention of pressing us to give a higher priority to reviewing your PRs, handling your needs, or reporting a status on the process of handling them. In particular, I request you to abstain from making any comment that could be in any way interpreted as demeaning towards others.

@tamird
Copy link
ContributorAuthor

@tiangolo your points are well taken. The last comment here was 5 weeks ago.

tiangolo reacted with thumbs up emoji

YuriiMotov

This comment was marked as resolved.

@tamird

This comment was marked as resolved.

YuriiMotov

This comment was marked as resolved.

@tamirdtamirdforce-pushed thefix-repr branch 2 times, most recently frombc0ca50 tof3f3cddCompareOctober 13, 2025 13:24
@YuriiMotovYuriiMotov self-assigned thisOct 14, 2025
@YuriiMotovYuriiMotov self-requested a reviewOctober 14, 2025 16:48
@github-actions

This comment was marked as resolved.

@github-actionsgithub-actionsbot added the conflictsAutomatically generated when a PR has a merge conflict labelOct 20, 2025
@YuriiMotov
Copy link
Member

Looks like it's not so easy now as we run tests on Python 3.12 and Pydantic V1 is not supported there..

@github-actionsgithub-actionsbot removed the conflictsAutomatically generated when a PR has a merge conflict labelDec 1, 2025
@tamirdtamirdforce-pushed thefix-repr branch 3 times, most recently from3618d12 toc38f95bCompareDecember 1, 2025 15:10
@tamird
Copy link
ContributorAuthor

Looks like it's not so easy now as we run tests on Python 3.12 and Pydantic V1 is not supported there..

Just needed a little copy & paste.

@YuriiMotov
Copy link
Member

YuriiMotov commentedDec 1, 2025
edited
Loading

@tamird, thanks for resolving the merge conflict!

If I recall correctly, previously we switched to using existingErrorDict anddisplay_errors (import them frompydantic.v1) for simplicity. But now it turned out we can't just use them and have to duplicate that code.
Would it simplify the code if we switch back to just using our own implementations?

@tamird
Copy link
ContributorAuthor

@tamird, thanks for resolving the merge conflict!

If I recall correctly, previously we switched to using existingErrorDict anddisplay_errors (import them frompydantic.v1) for simplicity. But now it turned out we can't just use them and have to duplicate that code. Would it simplify the code if we switch back to just using our own implementations?

Sure, it would probably be simpler. However this PR has now been open for over a year, and there's no indication that there's a desire to merge it. I hope you understand that I'm reluctant to invest further effort at this time without some indication that it will be accepted (or rejected).

@github-actions
Copy link
Contributor

This pull request has a merge conflict that needs to be resolved.

@github-actionsgithub-actionsbot added the conflictsAutomatically generated when a PR has a merge conflict labelDec 6, 2025
@github-actionsgithub-actionsbot removed the conflictsAutomatically generated when a PR has a merge conflict labelDec 6, 2025
@tamirdtamird changed the title🐛 Add missingRequestValidationError.__str__ functionality🐛 Add missingValidationException.__str__ functionalityDec 6, 2025
@tamirdtamirdforce-pushed thefix-repr branch 3 times, most recently fromdcf6ada to2785920CompareDecember 6, 2025 14:46
@github-actionsgithub-actionsbot added the conflictsAutomatically generated when a PR has a merge conflict labelDec 10, 2025
@github-actions
Copy link
Contributor

This pull request has a merge conflict that needs to be resolved.

@tamirdtamird closed thisDec 10, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@svlandegsvlandegsvlandeg left review comments

@YuriiMotovYuriiMotovAwaiting requested review from YuriiMotov

Assignees

@YuriiMotovYuriiMotov

Labels

bugSomething isn't workingconflictsAutomatically generated when a PR has a merge conflict

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@tamird@tiangolo@YuriiMotov@svlandeg

[8]ページ先頭

©2009-2026 Movatter.jp