How to use the edxval.models.Video.objects.filter function in edxval

To help you get started, we’ve selected a few edxval examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / xblock-azure-media-services / azure_media_services / ams.py View on Github external
def get_list_stream_videos(self):
        return Video.objects.filter(
            courses__course_id=self.location.course_key,
            courses__is_hidden=False,
            status__in=["file_complete", "file_encrypted"]
        ).order_by('-created', 'edx_video_id')

edxval

edx-val

AGPL-3.0
Latest version published 25 days ago

Package Health Score

72 / 100
Full package analysis