Skip to content

Conversation

glowskir
Copy link
Contributor

@glowskir glowskir commented Apr 2, 2025

Since True/False in python pass isinstance(value,int) with I would be reasonable according to principle of least astonishment to additionaly check and discriminate against bool values in ULID validator.

@Sharpek
Copy link

Sharpek commented Apr 2, 2025

I have same issue!

@yezz123 yezz123 merged commit 6d68417 into pydantic:main Apr 2, 2025
10 checks passed
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