[PR #2496] [CLOSED] Implement deep merge for config context dicts #2495 #12394

Closed
opened 2025-12-29 22:21:15 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/2496
Author: @martink2
Created: 10/6/2018
Status: Closed

Base: developHead: develop


📝 Commits (1)

  • 5ad5856 Add deep merge for contexts

📊 Changes

2 files changed (+15 additions, -4 deletions)

View changed files

📝 netbox/extras/models.py (+14 -3)
📝 requirements.txt (+1 -1)

📄 Description

Uses deepmerge 0.0.4 to merge not only based on the top level key but across the JSON hierarchy.

Fixes:

#2495


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/2496 **Author:** [@martink2](https://github.com/martink2) **Created:** 10/6/2018 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (1) - [`5ad5856`](https://github.com/netbox-community/netbox/commit/5ad58569969af9ea3aaf47949ab02341c4d7186d) Add deep merge for contexts ### 📊 Changes **2 files changed** (+15 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/models.py` (+14 -3) 📝 `requirements.txt` (+1 -1) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> Uses deepmerge 0.0.4 to merge not only based on the top level key but across the JSON hierarchy. ### Fixes: #2495 <!-- Please include a summary of the proposed changes below. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:21:15 +01:00
adam closed this issue 2025-12-29 22:21:15 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12394