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 issue with classifying complex labels #276

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Fix issue with classifying complex labels #276

merged 1 commit into from
Sep 4, 2024

Conversation

jlowin
Copy link
Member

@jlowin jlowin commented Sep 4, 2024

The classifier was recovering the serializable representation of the labels, rather than the actual label objects. For simple cases this didn't matter, but for Pydantic models it meant that classification yielded a dict, not a hydrated model.

@jlowin jlowin added the bug Something isn't working label Sep 4, 2024
@jlowin jlowin merged commit 0f84994 into main Sep 4, 2024
3 checks passed
@jlowin jlowin deleted the label-bug branch September 4, 2024 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant