sphobjinv
sphobjinv copied to clipboard
Implement .evolve() for Inventory objects
Currently Inventory objects are mutable, so such a method is not strictly needed. Could be a nice helper method, though.
Depending on how #48, #45, #43, etc. work out, it might make sense to make Inventory objects immutable from the API perspective, even if adding frozen=True to the @attr.s() doesn't make sense.
Less of an issue with SuperDatObj subclasses having been made mutable (59db681).