You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a symptom of a larger problem with file handling. The library doesn't currently allow for files to be passed as arbitrary keyword arguments. That's a feature we should probably look into at some point (in a new issue), but for the purposes of this issue we can use an optional argument assignment and the file_or_path util function to achieve the same effect, like in Course.import_outcome. Since assignment isn't mandatory, the implementation will be slightly different.
The text was updated successfully, but these errors were encountered:
* Allow PaginatedList to use metadata for pagination (#614)
* Update `PaginatedList`
Based on #605, `PaginatedList` could not process requests which return
pagination info in the response body. This update checks for `Link` headers
before checking the `meta` property in the response body.
* Update based on review
* Update pag list test with no header no next meta to run properly. Update changelog.
---------
Co-authored-by: Matthew Emond <me@ucf.edu>
* New Quizzes (#612)
* Begin adding coverage for New Quizzes (WIP)
* Finish New Quizzes endpoints
* Pin urllib3 to <2 for tests due to issue with requests-mock. jamielennox/requests-mock#228
* Course Create Discussion Attach Files #621 (#622)
* Fix issue where Course.create_discussion_topic doesn't accept attachment files
* Add file tests for create_discussion_topic
* Delete method for course and group pages (#624)
* method delete group and course pages, update tests
* format fix
* Add Caitlin to authors. Add contribution to changelog. Formwatting tweaks.
---------
Co-authored-by: Matthew Emond <me@ucf.edu>
* Remove Jesse as codeowner. Add Matthew Jones and Brian Bennett
* Add support for Python 3.11 (#625)
* markdown styling tweak to be in line with prettier's defaults
* Bump version to 3.2.0
---------
Co-authored-by: Brian <brian.bennett2@gmail.com>
Co-authored-by: Caitlin Fabian <89735646+Caitlin-Fabian@users.noreply.github.com>
Describe the bug
Unable to upload attachment files in
Course.create_discussion_topic
To Reproduce
See discussion #620 (thanks @SebasMeza)
Possible Solutions
This is a symptom of a larger problem with file handling. The library doesn't currently allow for files to be passed as arbitrary keyword arguments. That's a feature we should probably look into at some point (in a new issue), but for the purposes of this issue we can use an optional argument
assignment
and thefile_or_path
util function to achieve the same effect, like inCourse.import_outcome
. Sinceassignment
isn't mandatory, the implementation will be slightly different.The text was updated successfully, but these errors were encountered: