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
We expect that the method `get_grades` of an lms backend returns a dict with
boolean property `passed`. Currently for moodle, due to a transformation made by
moodlepy, the passed property has an integer value (0 or 1). We aim to fix
that into moodlepy directly but to fix the issue as soon as possible we first
cast the integer value as a bool.
hexatester/moodlepy#21
We expect that the method `get_grades` of an lms backend returns a dict with
boolean property `passed`. Currently for moodle, due to a transformation made by
moodlepy, the passed property has an integer value (0 or 1). We aim to fix
that into moodlepy directly but to fix the issue as soon as possible we first
cast the integer value as a bool.
hexatester/moodlepy#21Fix#1005
We expect that the method `get_grades` of an lms backend returns a dict with
boolean property `passed`. Currently for moodle, due to a transformation made by
moodlepy, the passed property has an integer value (0 or 1). We aim to fix
that into moodlepy directly but to fix the issue as soon as possible we first
cast the integer value as a bool.
hexatester/moodlepy#21Fix#1005
Describe the bug
core_completion_get_course_completion_status
response has a cast issue. The classCourseCompletionStatus
cast boolean values as integer that is weird.To Reproduce
Steps to reproduce the behavior:
completed
andcomplete
property returned by Moodle are boolean values but once passed to CourseCompletionStatus there are integers...Expected behavior
Boolean values returned by the Moodle API should be cast as bool by MoodlePy.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: