[PR #19725] [CLOSED] Closes #19692: Unnecessary DB queries for API Endpoints #15714

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19725
Author: @JCWasmx86
Created: 6/19/2025
Status: Closed

Base: mainHead: db-opt


📝 Commits (1)

  • b95e0cf Closes #19692: Unnecessary DB queries for API Endpoints

📊 Changes

2 files changed (+3 additions, -3 deletions)

View changed files

📝 netbox/ipam/api/views.py (+2 -2)
📝 netbox/virtualization/api/views.py (+1 -1)

📄 Description

Fixes: #19692

Just adds a few prefetches for the API endpoints

  • ipam/vlan-groups
  • ipam/services
  • virtualization/clusters

🔄 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/19725 **Author:** [@JCWasmx86](https://github.com/JCWasmx86) **Created:** 6/19/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `db-opt` --- ### 📝 Commits (1) - [`b95e0cf`](https://github.com/netbox-community/netbox/commit/b95e0cf5ddf406e6ab90cfda782ea6337090593d) Closes #19692: Unnecessary DB queries for API Endpoints ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/ipam/api/views.py` (+2 -2) 📝 `netbox/virtualization/api/views.py` (+1 -1) </details> ### 📄 Description ### Fixes: #19692 Just adds a few prefetches for the API endpoints - ipam/vlan-groups - ipam/services - virtualization/clusters --- <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:23:35 +01:00
adam closed this issue 2025-12-30 00:23:35 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15714