You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe there is a small/minor error in one of the examples shown in the README in one of the checker examples.
from validator_collection import checkers
result = validators.is_integer('this is an invalid variable name')
# result will be False
The issue with this code is that checkers.is_integer should be called, rather than validators.is_integer
Fixed example:
from validator_collection import checkers
result = checkers.is_integer('this is an invalid variable name')
# result will be False
I verified this issue by running the original code section which returns a "NameError" when run, and I verified the fixed code section now runs without a NameError.
The text was updated successfully, but these errors were encountered:
I believe there is a small/minor error in one of the examples shown in the README in one of the checker examples.
The issue with this code is that checkers.is_integer should be called, rather than validators.is_integer
Fixed example:
I verified this issue by running the original code section which returns a "NameError" when run, and I verified the fixed code section now runs without a NameError.
The text was updated successfully, but these errors were encountered: