Open stpotter16 opened 3 years ago
This probably belongs in traits - the error, as I understand it, is because AdaptationOffer
is a HasTraits
and not a HasStrictTraits
or a HasRequiredTraits
. We should also probably prevent to_protocol
and the other related traits not accept None
.
@stpotter16 what do you think?
@rahulporuri Good points. I'm okay to move this over to traits, just wanted to log my experience in a publicly visible place.
Preface: The following discussion/"request" could easily be chalked up to "Just be more careful" so feel free to close and move on.
That said, the following code
created this traceback:
No peaking, see if you can spot the error (again it's a case of "Be more careful")
Answer
So my low priority request is a more useful error message here or more careful parsing of the contents passed into the constructor of
AdaptationOffer