shotgunsoftware / python-api

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

SG-37203 [Mockgun] ignore duplicate entities when multi_entity_update_mode is add #356

Open slingshotvfx opened 2 months ago

slingshotvfx commented 2 months 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.