Bläddra i källkod

10869 convert docstring to comment

Arthur 3 år sedan
förälder
incheckning
3a89a676cd
1 ändrade filer med 1 tillägg och 3 borttagningar
  1. 1 3
      netbox/netbox/api/viewsets/__init__.py

+ 1 - 3
netbox/netbox/api/viewsets/__init__.py

@@ -137,9 +137,7 @@ class NetBoxModelViewSet(BulkUpdateModelMixin, BulkDestroyModelMixin, ObjectVali
             )
 
     def list(self, request, *args, **kwargs):
-        """
-        Overrides ListModelMixin to allow processing ExportTemplates.
-        """
+        # Overrides ListModelMixin to allow processing ExportTemplates.
         if 'export' in request.GET:
             content_type = ContentType.objects.get_for_model(self.get_serializer_class().Meta.model)
             et = get_object_or_404(ExportTemplate, content_type=content_type, name=request.GET['export'])