Skip to content

Conversation

@louisadamian
Copy link
Contributor

Convert floating stats with decimal representation from str to float with pydantic

adds a BeforeValidator to base.py that converts types to float or returns none and an OptionalFloat type that used the validator and changed all the relevant types in stat objects.

Tests

Passes all unit tests.

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.

1 participant