-
Notifications
You must be signed in to change notification settings - Fork 27
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
AttributeError when comparing nodes #433
Comments
Hi @m-reichle,
|
I'm inheriting from Widget behaves the same way.
|
I see. Im this case this should be fixed. I would recommend using |
@m-reichle: I opened #434 to fix this issue |
@m-reichle: can you verify if the PR fixes the problem? |
Will do |
Hi,
the new version of
Abstract Node.__eq__()
has me run into errors with custom nodes that do not implement the attributes tested in__eq__
. I'd say if theAbstractNode
class has a method that assumes the existence of attributes, those should either have defaults or there should be ahasattr()
beforehand. Not sure which would make more sense here.I'd propose verifying this in a very basic test such as this.
The text was updated successfully, but these errors were encountered: