Skip to content
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

Fix description for array-like fields #184

Merged
merged 4 commits into from
Apr 24, 2024

Conversation

sergue1
Copy link
Contributor

@sergue1 sergue1 commented Feb 12, 2024

Fixes #178

Copy link

codecov bot commented Feb 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@tim-x-y-z
Copy link
Contributor

I think this also applies to other field - in particular had an error with json_schema now here

Copy link
Member

@samuelcolvin samuelcolvin left a comment

Choose a reason for hiding this comment

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

otherwise LGTM.

src/python-fastui/tests/test_forms.py Outdated Show resolved Hide resolved
Copy link
Member

@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.

@sergue1,

Looks good, though the line on 313 isn't covered by the newly added test - is it necessary?

@sergue1
Copy link
Contributor Author

sergue1 commented Apr 22, 2024

@sydney-runkle , I am a bit confused that 313 line is uncovered: revert it and the newly added test will fail as expected. May be it is an issue with codecov?

@sydney-runkle
Copy link
Member

Huh, odd! Yeah, maybe an issue. I'll see if I can try to skip that check for this PR.

@sydney-runkle
Copy link
Member

Ah ok I think perhaps this is because we changed a line that was not covered before?

@sergue1 sergue1 force-pushed the fix-array-field-description branch from 06276f0 to 6e82a89 Compare April 23, 2024 19:36
Copy link
Member

@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.

Great work!

@sydney-runkle sydney-runkle merged commit a19d7bf into pydantic:main Apr 24, 2024
16 checks passed
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.

Select description gets attached to multiple field
4 participants