v3.0.30
Multi-entity update options, product-specific authorization, and explicit file closing
-
Adds an optional dictionary parameter
multi_entity_update_modes
to useadd
,remove
, andset
modes when callingupdate()
on multi-entity fields. This allows for updating multi-entity fields without the need for pulling down the field's data and pushing back up the entire set. For example, when specifying an addition toSequence.shots
, we could specify:sg.update("Sequence", 1234, {"shots":[{"type":"Shot", "id":123}]}, multi_entity_update_modes={"shots":"add"})
-
Adds explicit file handler closing to download_attachment.
-
Adds basic
find()
ordering support to mockgun. -
Allows for product specific authorization parameters.