Commits
Click on a commit to change the comparison rangefix: Improve unit test case
The code changes modify the test cases for enum validation with decimal values. The test cases now only include the values -1, 0, and 1. Additionally, a new assertion is added to validate the decimal values as floats. This change improves the validation of enum fields with decimal values.1 year ago
by vai-mikkoleppanen Improve enum validation test cases for decimal values1 year ago
by vai-mikkoleppanen Move validate_decimal call to the last one.1 year ago
by vai-mikkoleppanen fix: make Decimal type work with StrEnum when strict mode is not enabled1 year ago
by vai-mikkoleppanen fix: StrEnum not supported in all envs1 year ago
by vai-mikkoleppanen chore: Refactor decimal validation to the decimal module1 year ago
by vai-mikkoleppanen refactor: simplify try_from_decimal_to_int function's return type1 year ago
by vai-mikkoleppanen refactor: improve validation logic to include any type that is equal to a validated value1 year ago
by vai-mikkoleppanen refactor: minor refactoring for try_validate_any1 year ago
by vai-mikkoleppanen refactor: make is_equal_to function generic and move it out of try_validate_any
refactor: add more test coverage1 year ago
by vai-mikkoleppanen chore: remove useless test case1 year ago
by vai-mikkoleppanen fix: refactoring based on code review comment
removed try_validate_any function and instead try to create Python enum class.
Test case modifications and fixes.1 year ago
by vai-mikkoleppanen