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 the TypeError when import.set_fields is provided non-string values #5495

Merged
merged 4 commits into from
Nov 11, 2024

Conversation

adamharder3
Copy link
Contributor

Description

Fixes #4840 by converting input values to strings before they are used. Modifies the test cases for set_fields to appropriately test this behavior.

To Do

  • Documentation
  • Changelog.
  • Tests.

Copy link
Member

@snejus snejus left a comment

Choose a reason for hiding this comment

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

Good stuff, thanks! Just a tiny nit in the changelog.

docs/changelog.rst Outdated Show resolved Hide resolved
Co-authored-by: Šarūnas Nejus <[email protected]>
@adamharder3
Copy link
Contributor Author

Thanks for the suggestion. I applied the changes accordingly.

@adamharder3 adamharder3 requested a review from snejus November 11, 2024 16:17
Copy link
Member

@snejus snejus left a comment

Choose a reason for hiding this comment

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

Thank you!

@snejus snejus merged commit 9345103 into beetbox:master Nov 11, 2024
9 of 10 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.

import.set_fields configuration should tolerate non-string values
2 participants