Skip to content
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

Incompatibility with python3 in String validator. #244

Open
martin-re opened this issue Jan 24, 2024 · 0 comments
Open

Incompatibility with python3 in String validator. #244

martin-re opened this issue Jan 24, 2024 · 0 comments

Comments

@martin-re
Copy link

Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 
>>> from pyArango.validation import String
>>> from pyArango.theExceptions import ValidationError
>>> 
>>> try:
...     String().validate(object)
... except ValidationError:
...     pass
... except Exception as e:
...     print(e)
... 
name 'unicode' is not defined

This issue is sub-problem of #215.

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

No branches or pull requests

1 participant