[mypy] Fix has no attribute errors
These attributes (expression, operator, boundary) are specific to some kind of constraints. We shouldn't expect them to be present in every constraints. Let's keep the type ignore in diff.py for the moment.
Please register or sign in to comment