Skip to content

Commit

Permalink
fix: add InheritanceMixin to list of mixins of XBlockRuntime
Browse files Browse the repository at this point in the history
  • Loading branch information
Cup0fCoffee committed Apr 8, 2024
1 parent 88634fc commit d5cd57c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openedx/core/djangoapps/xblock/runtime/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
from xmodule.errortracker import make_error_tracker
from xmodule.contentstore.django import contentstore
from xmodule.modulestore.django import XBlockI18nService
from xmodule.modulestore.inheritance import InheritanceMixin
from xmodule.services import EventPublishingService, RebindUserService, ProblemFeedbackService
from xmodule.util.sandboxing import SandboxService
from common.djangoapps.edxmako.services import MakoService
Expand Down Expand Up @@ -101,6 +102,7 @@ def __init__(self, system: XBlockRuntimeSystem, user: UserType | None):
mixins=(
LmsBlockMixin, # Adds Non-deprecated LMS/Studio functionality
XBlockShim, # Adds deprecated LMS/Studio functionality / backwards compatibility
InheritanceMixin,
),
default_class=None,
select=None,
Expand Down

0 comments on commit d5cd57c

Please sign in to comment.