-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Export ora2 data to drf #36556
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
Export ora2 data to drf #36556
Conversation
|
@awais786 PR is ready for review |
c4a3b57 to
26aa6fc
Compare
|
@Talha-Rizwan looks like there are some failing tests, can you update the branch to get the build green again? |
6309107 to
5113c92
Compare
|
@feanil I've updated the PR, Please take a look at it whenever convenient. |
|
@awais786 thanks for reviewing, feel free to merge if it looks good to you, you don't need to wait on my review for these if they look good to you. |
|
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
|
2U Release Notice: This PR has been deployed to the edX production environment. |
* feat: export ora2 data to DRF
#35352 issue for tracking
Description
Converts the function-based export_ora2_data view to a DRF class-based view
This change maintains all existing functionality while providing a more standardized API structure.
Key changes:
To Test the api, try POST request on this url
expected response:
{"status": "The ORA data report is being created. To view the status of the report, see Pending Tasks below."}a celery task will be triggered and a csv file will be generated.
verify via instructor dashbaord
go to this page
click on the button "Generate ORA Data Report"
A csv file will be ready to be downloaded once the celery task is completed
output like this will be generated:
