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 valid_data being a list when many=False #200

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RazerM
Copy link

@RazerM RazerM commented Aug 9, 2024

ValidationError.valid_data is always a list, even if many=False.

I've added a test for both cases, one of which fails without the change I made.

@luup2k
Copy link

luup2k commented Oct 31, 2024

@lafrech please could you merge ?

@lafrech
Copy link
Member

lafrech commented Oct 31, 2024

Looks like CI tests were not run for some reason. Something we'd need to investigate.

This fix looks correct to me.

I think line 125 should be removed too.

result_data = []

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.

3 participants