[PR #18315] [MERGED] Fix #18314: Use get to avoid KeyError #15321

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/18315
Author: @tobiasge
Created: 1/7/2025
Status: Merged
Merged: 1/7/2025
Merged by: @jeremystretch

Base: mainHead: 18314-dont-fail-on-missing-key


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 netbox/extras/dashboard/widgets.py (+1 -1)

📄 Description

Fixes: #18314


🔄 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/18315 **Author:** [@tobiasge](https://github.com/tobiasge) **Created:** 1/7/2025 **Status:** ✅ Merged **Merged:** 1/7/2025 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `main` ← **Head:** `18314-dont-fail-on-missing-key` --- ### 📝 Commits (1) - [`3c5b7b5`](https://github.com/netbox-community/netbox/commit/3c5b7b5e53493584c09111613073d6a61fcc7df5) Fix #18314: Use get to avoid KeyError ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/dashboard/widgets.py` (+1 -1) </details> ### 📄 Description ### Fixes: #18314 --- <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-30 00:21:15 +01:00
adam closed this issue 2025-12-30 00: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#15321