From 7ff2217425dcb2af0b50502e3e9b48bae1ef78c6 Mon Sep 17 00:00:00 2001 From: Daniel Hoffend Date: Thu, 13 Nov 2025 11:27:41 +0100 Subject: [PATCH] Consider object_types as set in the response --- pynetbox/core/response.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pynetbox/core/response.py b/pynetbox/core/response.py index 824bd6a3..cd00ff36 100644 --- a/pynetbox/core/response.py +++ b/pynetbox/core/response.py @@ -23,7 +23,7 @@ from pynetbox.core.util import Hashabledict # List of fields that are lists but should be treated as sets. -LIST_AS_SET = ("tags", "tagged_vlans") +LIST_AS_SET = ("tags", "tagged_vlans", "object_types") def get_return(lookup, return_fields=None):