We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
deepcopy()
I was attempting to build a "fluent" interface but had some trouble with using deepcopy()
>>> a = lacp_.lacp() >>> b = copy.deepcopy(a) ...pyangbind/lib/yangtypes.py in __new__(self, *args, **kwargs) 1127 def __new__(self, *args, **kwargs): 1128 try: -> 1129 obj = base_type.__new__(self, *args, **kwargs) 1130 except TypeError: 1131 obj = base_type.__new__(self) ...pyangbind/lib/yangtypes.py in __new__(self, *args, **kwargs) 469 break 470 if not passed: --> 471 raise ValueError("%s does not match a restricted type" % val) 472 473 try: ValueError: 0 does not match a restricted type
Not sure if its easy to solve this one, but I'm creating an issue to track it anyway :-)
The text was updated successfully, but these errors were encountered:
Hi,
Could you please try again with a recent / latest release of pyangbind?
Sorry, something went wrong.
No branches or pull requests
I was attempting to build a "fluent" interface but had some trouble with using
deepcopy()
Not sure if its easy to solve this one, but I'm creating an issue to track it anyway :-)
The text was updated successfully, but these errors were encountered: