shotgunsoftware / python-api

A Python-based library for accessing Flow Production Tracking API.
https://developer.shotgridsoftware.com/python-api
Other
306 stars 198 forks source link

fix(mockgun): ignore duplicate entities when multi_entity_update_mode is add #356

Open slingshotvfx opened 1 month ago

slingshotvfx commented 1 month ago

fixes oversight in https://github.com/shotgunsoftware/python-api/pull/330 which allowed duplicate entities to be added when multi_entity_update_mode was add.

This fix emulates the server behavior which ignores duplicates when adding to multi-entity fields.