nautobot-app-golden-config icon indicating copy to clipboard operation
nautobot-app-golden-config copied to clipboard

Switch to `DynamicGroup.update_cached_members` in Nautobot v2.3.0

Open gsnider2195 opened this issue 6 months ago • 0 comments

Nautobot v2.3 changed the way DynamicGroups work and now by default they return a cached list of members in the ORM for DynamicGroup.members and (among others) Device.dynamic_groups. We need to at minimum switch to using DynamicGroup.update_cached_members in place of DynamicGroup.members and potentially call the same for all GC dynamic groups before calling Device.dynamic_groups.

gsnider2195 avatar Aug 12 '24 20:08 gsnider2195