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

Error when error argument missing #121

Closed
DaMaillard opened this issue Sep 19, 2016 · 3 comments
Closed

Error when error argument missing #121

DaMaillard opened this issue Sep 19, 2016 · 3 comments

Comments

@DaMaillard
Copy link
Contributor

Error when serialazing a SchemaError object :

>>> import copy
>>> from schema import SchemaError
>>> s = SchemaError('a', None)
>>> copy.deepcopy(s)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/damienmaillard/.virtualenvs/bricklane/lib/python3.4/copy.py", line 182, in deepcopy
    y = _reconstruct(x, rv, 1, memo)
  File "/Users/damienmaillard/.virtualenvs/bricklane/lib/python3.4/copy.py", line 295, in _reconstruct
    y = callable(*args)
TypeError: __init__() missing 1 required positional argument: 'errors'
DaMaillard pushed a commit to DaMaillard/schema that referenced this issue Sep 19, 2016
@DaMaillard
Copy link
Contributor Author

@skorokithakis Can you please update PyPI ?

@skorokithakis
Copy link
Collaborator

Sure!

@skorokithakis
Copy link
Collaborator

DaMaillard pushed a commit to DaMaillard/schema that referenced this issue Sep 19, 2016
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

2 participants