Giter Club home page Giter Club logo

Comments (4)

liblit avatar liblit commented on July 29, 2024 2

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.

Thetwam avatar Thetwam commented on July 29, 2024 1

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.

jessemcbride avatar jessemcbride commented on July 29, 2024 1

Apparently this is intended behavior: instructure/canvas-lms#1231 (comment)

from canvasapi.

jessemcbride avatar jessemcbride commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.