-
Notifications
You must be signed in to change notification settings - Fork 171
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
Error when a course access is restricted #616
Labels
Comments
This came up in a recent discussion (#604) and the best way to avoid this is to request only active courses using the I'm not sure I'd call this a bug, maybe an enhancement tag would be a better fit. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Several courses at my institution have access restricted after the semester. When a course is restricted, my access token doesn't have permission to get course details. This results in an AttributeError when trying to instantiate a Course object.
Expected behavior
I think the wrapper should either ignore restricted courses or have a special model for them.
Environment information
The text was updated successfully, but these errors were encountered: