Comments (4)
If Canvas insists that their code is correct, then their documentation is wrong. The two disagree, so they cannot both be right. But I suppose that’s Canvas’s problem, not yours. I have pointed this out to them, which is probably all we can do short of opening a new bug report against their documentation.
from canvasapi.
I did a manual call to the discussion topics endpoint in Postman. It appears that despite their documentation, Canvas returns null
for that parameter instead of false
, hence why we return None
. This appears to be the case in several other parameters as well, such as podcast_has_student_posts
and only_graders_can_rate
.
I am hesitant to add special cases to the library for these parameters. Instead, we should probably file a bug report with Canvas.
from canvasapi.
Apparently this is intended behavior: instructure/canvas-lms#1231 (comment)
from canvasapi.
I've reported this to Canvas (instructure/canvas-lms#1231). It does look like they've since corrected other erroneous null values (re: Matt's response), so once they fix this we should be able to close this issue.
from canvasapi.
Related Issues (20)
- Endpoint for accepting and rejecting course invites HOT 1
- Missing pagination for search results HOT 3
- Add missing methods to File HOT 1
- QuizSubmission update_score_and_comments doesn't seem to work HOT 3
- New Quizzes
- New Quiz Items
- Docs: How to download/upload grades/Gradebook? HOT 1
- Error when a course access is restricted HOT 1
- canvas create conversation cannot set subject HOT 3
- Rework url structure to accommodate graphql and new quizzes endpoints
- Attach files when creating a new discussion topic
- Delete Group Pages
- Request timeouts
- Comments to submissions are always added to first attempt HOT 1
- Duplicate Assignment
- Include Initiator-Only Conversations in API Endpoint HOT 3
- arrow.ParserError does not exist in file canvas_object.py HOT 8
- File objects get attribute `content-type` which must be accessed through `getattr` HOT 2
- Creating Quiz Questions HOT 1
- Improve `PaginatedList` docs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canvasapi.