Move CloningMixin into NetBoxFeatureSet #8442

Closed
opened 2025-12-29 20:36:45 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Aug 9, 2023).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Update NetBoxFeatureSet to inherit CloningMixin, and remove CloningMixin from NestedGroupModel and NetBoxModel.

Justification

This will standardize cloning as part of the base model feature set. The only effective change is that CloningMixin will now be applied to models which inherit from OrganizationalModel as well.

This has no impact on the plugins API as NetBoxModel already inherits from CloningMixin.

Originally created by @jeremystretch on GitHub (Aug 9, 2023). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Update NetBoxFeatureSet to inherit CloningMixin, and remove CloningMixin from NestedGroupModel and NetBoxModel. ### Justification This will standardize cloning as part of the base model feature set. The only effective change is that CloningMixin will now be applied to models which inherit from OrganizationalModel as well. This has no impact on the plugins API as NetBoxModel already inherits from CloningMixin.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 20:36:45 +01:00
adam closed this issue 2025-12-29 20:36:45 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8442