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

Allow tracknumber to be str in pydantic model #1875

Merged
merged 1 commit into from Feb 21, 2022
Merged

Conversation

amCap1712
Copy link
Member

There are a bunch of pydantic errors in sentry due to tracknumber being str but the model requiring it to be an integer. We don't validate tracknumber (see api_compat) to be an integer during submission so try to enforce it here is futile. And we don't use the tracknumber field anywhere anyway.

@amCap1712 amCap1712 changed the title Allow tracknumber to str in pydantic model Allow tracknumber to be str in pydantic model Feb 19, 2022
There are a bunch of pydantic errors in sentry due to tracknumber being
str but the model requiring it to be an integer. We don't validate
tracknumber (see api_compat) to be an integer during submission so try
to enforce it here is futile. And we don't use the tracknumber
field anywhere anyway.
@amCap1712 amCap1712 merged commit 0c5f52d into master Feb 21, 2022
@amCap1712 amCap1712 deleted the fix-tracknum branch February 21, 2022 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants