Skip to content

Commit

Permalink
Fixup. Format code with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Sep 6, 2024
1 parent 4feefc4 commit f8141ae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pod/playlist/rest_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ class PlaylistViewSet(viewsets.ModelViewSet):
"visibility",
"autoplay",
"editable",
]
]
2 changes: 1 addition & 1 deletion pod/video/rest_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class VideoViewSet(viewsets.ModelViewSet):
"is_restricted",
"encoding_in_progress",
"sites",
]
]

@action(detail=False, methods=["get"])
def user_videos(self, request):
Expand Down
8 changes: 6 additions & 2 deletions pod/video_encode_transcript/rest_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ class EncodingVideoViewSet(viewsets.ModelViewSet):

queryset = EncodingVideo.objects.all()
serializer_class = EncodingVideoSerializer
filterset_fields = ["video",]
filterset_fields = [
"video",
]

@action(detail=False, methods=["get"])
def video_encodedfiles(self, request):
Expand Down Expand Up @@ -108,7 +110,9 @@ class EncodingAudioViewSet(viewsets.ModelViewSet):

queryset = EncodingAudio.objects.all()
serializer_class = EncodingAudioSerializer
filterset_fields = ["video",]
filterset_fields = [
"video",
]

@action(detail=False, methods=["get"])
def audio_encodedfiles(self, request):
Expand Down

0 comments on commit f8141ae

Please sign in to comment.