We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbbfcc6 commit df8a40dCopy full SHA for df8a40d
netbox_custom_objects/api/serializers.py
@@ -338,10 +338,12 @@ def get_display(self, obj):
338
# Register the serializer in the current module so NetBox can find it
339
current_module = sys.modules[__name__]
340
setattr(current_module, serializer_name, serializer)
341
-
+
342
+ '''
343
# Also add to __all__ so it's properly exported
344
global __all__
345
if serializer_name not in __all__:
346
__all__ = __all__ + (serializer_name,)
347
348
349
return serializer
0 commit comments