Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

MEI-15697 Staff tools - download failure #2168

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

wasifarbisoft
Copy link

No description provided.

Comment on lines 318 to 321
csvwriter.writerows(self._get_utf8_encoded_rows(rows))
csvwriter.writerows(self._get_utf8_encoded_rows(rows, encode_for_utf8=True))
output_buffer.seek(0)
self.store(course_id, filename, output_buffer)
self.store(course_id, filename, output_buffer, batched=True)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The store_rows usage of the instructor_task app is widespread as it's being used in different xblocks as well as edx itself. So It's good to do the change where it's impacting and use add_rows and call store method rather than changing in a core function.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mudassir-hafeez
I have updated the Pull Request and used default arguments in store_rows so that the widespread usage of this method doesn't get affected.

@wasifarbisoft
Copy link
Author

wasifarbisoft commented Jan 24, 2022

@mudassir-hafeez ,
Please review the Problem Builder Pull Request as well. ProblemBuilder
https://github.com/mckinseyacademy/problem-builder/pull/1/files

@mudassir-hafeez
Copy link

Build is being failed due to xblock poll repo. wasn't that fixed by token used by you previously?

@wasifarbisoft
Copy link
Author

@mudassir-hafeez I haven't merged personal access token on QA because it was finalised yet at that time by DevOps
.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants