[PR #20166] [MERGED] Fixes #20120: Cast RQ task args & kwargs to strings for serialization #15838

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/20166
Author: @jeremystretch
Created: 8/22/2025
Status: Merged
Merged: 8/25/2025
Merged by: @jnovinger

Base: mainHead: 20120-api-background-tasks


📝 Commits (1)

  • ba73691 Fixes #20120: Cast RQ task args & kwargs to strings for serialization

📊 Changes

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

View changed files

📝 netbox/core/api/serializers_/tasks.py (+12 -2)

📄 Description

Fixes: #20120

  • Convert args and kwargs to SerializerMethodFields
  • Cast all native arguments and keyword argument values to strings prior to API serialization

🔄 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/20166 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 8/22/2025 **Status:** ✅ Merged **Merged:** 8/25/2025 **Merged by:** [@jnovinger](https://github.com/jnovinger) **Base:** `main` ← **Head:** `20120-api-background-tasks` --- ### 📝 Commits (1) - [`ba73691`](https://github.com/netbox-community/netbox/commit/ba7369185c77908ef251e31f7cea94e8b407b06e) Fixes #20120: Cast RQ task args & kwargs to strings for serialization ### 📊 Changes **1 file changed** (+12 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/core/api/serializers_/tasks.py` (+12 -2) </details> ### 📄 Description ### Fixes: #20120 - Convert `args` and `kwargs` to SerializerMethodFields - Cast all native arguments and keyword argument values to strings prior to API serialization --- <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:24:20 +01:00
adam closed this issue 2025-12-30 00:24:20 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15838