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 775722f commit 5fe2e66Copy full SHA for 5fe2e66
netbox_custom_objects/models.py
@@ -512,10 +512,6 @@ def get_model(
512
# Check if we have a cached model for this CustomObjectType
513
if self.is_model_cached(self.id):
514
model = self.get_cached_model(self.id)
515
- # Ensure the serializer is registered even for cached models
516
- from netbox_custom_objects.api.serializers import get_serializer_class
517
-
518
- get_serializer_class(model)
519
return model
520
521
# Circular reference detection using class-level tracking
0 commit comments