-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Use singular transcript util to retrieve transcripts from contentstore #17851
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
FYI @muhammad-ammar. |
|
Your PR has finished running tests. |
|
Your PR has finished running tests. |
|
@muhammad-ammar I am updating sandbox. |
|
This is ready for the review. |
|
jenkins run python |
|
Your PR has finished running tests. |
muhammad-ammar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Qubad786 I have concerns over these changes. Please see me inline comments.
| get_or_create_sjson, | ||
| generate_sjson_for_all_speeds, | ||
| get_video_transcript_content, | ||
| get_transcript_from_contentstore, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't we need to use get_transcript instead of get_transcript_from_contentstore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, I am only aiming for contentstore part of the interface. So that we may find some further unseen scenario(i.e. not covered by our util).
| response.content_type = transcript_mime_type | ||
| response.content_type = mime_type | ||
|
|
||
| elif dispatch.startswith('available_translations'): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes in this file are different from what we did in https://github.com/edx/edx-platform/pull/17718. Is this intentionally? Changes in the https://github.com/edx/edx-platform/pull/17718 are final and should be used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@muhammad-ammar this is temporary just to make sure that our contentstore part of the interface works as smooth as it should be! :)
|
jenkins run bokchoy |
|
Your PR has finished running tests. |
sandbox: https://tools-edx-jenkins.edx.org/job/Sandboxes/job/CreateSandbox/9741/console