-
Notifications
You must be signed in to change notification settings - Fork 162
validators.ip_address private kwarg does not work as intended #373
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
Comments
PR Open to address the above, including unit tests. |
Hi, I do not understand.
See:
How is |
If I specify If you read my original issue description under the "expected" outcome you will see that reflected there. Expected Result:
Specifically
Right now there is only a way to check if an IP is private |
Furthermore, the current functionality of |
Ah, I see the problem now. Thanks! |
Python:
3.12
Valdiators:
0.28.1
validators.ip_address
does not properly handle the scenario whenprivate=False
Result:
Expected Result:
I also noticed there are no unit tests that cover the above scenarios.
The text was updated successfully, but these errors were encountered: