Skip to content

Commit

Permalink
Merge pull request #12 from LCOGT/fix/auth-bug-view-missing-authentic…
Browse files Browse the repository at this point in the history
…ation-class

More missing modules and changing apiView to RetriveApiView Generic class for auth
  • Loading branch information
LTDakin authored May 8, 2024
2 parents ca1a877 + 0646681 commit bdebb11
Show file tree
Hide file tree
Showing 3 changed files with 464 additions and 3 deletions.
3 changes: 1 addition & 2 deletions datalab/datalab_session/views.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from rest_framework.generics import RetrieveAPIView
from rest_framework.views import APIView
from rest_framework.renderers import JSONRenderer
from rest_framework.response import Response

Expand All @@ -19,7 +18,7 @@ def get(self, request):
operation_details[operation_clazz.name()] = operation_clazz.wizard_description()
return Response(operation_details)

class AnalysisView(APIView):
class AnalysisView(RetrieveAPIView):
"""
View to handle analysis actions and return the results
To add a new analysis action, add a case to the switch statement and create a new file in the analysis directory
Expand Down
Loading

0 comments on commit bdebb11

Please sign in to comment.