sphobjinv icon indicating copy to clipboard operation
sphobjinv copied to clipboard

Implement .evolve() for Inventory objects

Open bskinn opened this issue 7 years ago • 1 comments

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.

bskinn avatar May 17 '18 18:05 bskinn

Less of an issue with SuperDatObj subclasses having been made mutable (59db681).

bskinn avatar Aug 06 '18 13:08 bskinn