• Philipp Arras's avatar
    Remove MultiField.update() · 10fe309c
    Philipp Arras authored
    The reason for this is the following. MultiFields behave very similar to
    dictionaries except for the fact that dictionaries are mutable and MultiFields
    are immutable. Therefore, MultiField.update() needs to return a new object. That
    is different to the dictionary.update() functionality and therefore unintuitive.
    
    MultiField.union() can do the exact same thing as update() used to do.
    10fe309c
test_multi_field.py 2.2 KB