[PR #13688] [MERGED] 13674 fix ReportSerializer #14239

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13688
Author: @arthanson
Created: 9/5/2023
Status: Merged
Merged: 9/6/2023
Merged by: @jeremystretch

Base: developHead: 13674-fix-reports-get-api


📝 Commits (2)

  • 1212c82 13674 fix ReportSerializer
  • 0f5ee38 Remove test_methods attr from Report class

📊 Changes

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

View changed files

📝 netbox/extras/api/serializers.py (+1 -1)

📄 Description

Fixes: #13674

Fixes test_methods under report serializer, makes read-only and initializes it as class attribute (as opposed to just inside init) so that serializer sees it.


🔄 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/13688 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 9/5/2023 **Status:** ✅ Merged **Merged:** 9/6/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `13674-fix-reports-get-api` --- ### 📝 Commits (2) - [`1212c82`](https://github.com/netbox-community/netbox/commit/1212c82bd41aadf326d5314d15a3428d78c945a4) 13674 fix ReportSerializer - [`0f5ee38`](https://github.com/netbox-community/netbox/commit/0f5ee38f3c25bae65b7d5c647ecc6fc1343cbe9f) Remove test_methods attr from Report class ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/api/serializers.py` (+1 -1) </details> ### 📄 Description ### Fixes: #13674 Fixes test_methods under report serializer, makes read-only and initializes it as class attribute (as opposed to just inside init) so that serializer sees it. --- <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 23:23:21 +01:00
adam closed this issue 2025-12-29 23:23:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14239