-
Notifications
You must be signed in to change notification settings - Fork 174
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
Support submitting multiple files to an assignment #462
Comments
I'd like to take a look at this issue. Looking at the code, it seems like adding a new method for mass uploading might be the way to go instead of modifying the signature of the existing function. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is possible for instructors to create assignments that require students to upload multiple loose files for a submission, and this library doesn't provide a direct mechanism for facilitating this as a student.
As a practical example: the instructor in one of my current courses requires students to upload no less than 72 loose files per assignment.
The necessary machinery exists, through
assignment.upload_to_submission
In my downstream project, I have produced the desired functionality in a downstream by calling
Assignment.upload_to_submission
in a loop over the input files, and passing the resulting list of file IDs toAssignment.submit
in a dict.Since this route requires working around the
Assignment.submit
's single file limitation, finding this pathway wasn't immediately obvious.Desired interface
modify
Assignment.submit
to accept a list of files, and have a single function call for users.Alternatively, and this is the approach I took in the downstream,
is to add a new method for bulk uploads
The text was updated successfully, but these errors were encountered: