Hi there!!
I am developing a plugin to use it in Tutor (with the latest openedx release).
I am trying to get a ClassOverview with eox_core.edxapp_wrapper.courses.get_course_overview and always returns me a <class 'object'>.
I think that it is because in eox_core.edxapp_wrapper.backends.courses_h_v1 there is a wrong import. Following the same line like this import, the "wrong import" should be cms.djangoapps.contentstore.views.course import .....
Because that import does not work, CourseOverview is an object.
I don't know if I missed a configuration (I used get_valid_course_key and it worked):
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavioreox_core.edxapp_wrapper.courses.get_course_overview should returns a ClassOverview class.
Screenshots
If applicable, add screenshots to help explain your problem.
Here I'm using the function:
And this is the log:
Additional context
Add any other context about the problem here.
Describe the bug
Hi there!! I am developing a plugin to use it in Tutor (with the latest openedx release). I am trying to get a
ClassOverview
witheox_core.edxapp_wrapper.courses.get_course_overview
and always returns me a<class 'object'>
. I think that it is because ineox_core.edxapp_wrapper.backends.courses_h_v1
there is a wrong import. Following the same line like this import, the "wrong import" should becms.djangoapps.contentstore.views.course import ....
. Because that import does not work,CourseOverview
is anobject
.I don't know if I missed a configuration (I used
get_valid_course_key
and it worked):To Reproduce Steps to reproduce the behavior:
Expected behavior
eox_core.edxapp_wrapper.courses.get_course_overview
should returns aClassOverview
class.Screenshots If applicable, add screenshots to help explain your problem.
Here I'm using the function:
And this is the log:
Additional context Add any other context about the problem here.