Skip to content

Commit

Permalink
Merge pull request #36 from openedx/iahmad/ENT-8816
Browse files Browse the repository at this point in the history
feat: Replaced NamedAttributesMetaclass with XBlockMixin
  • Loading branch information
irfanuddinahmad authored Apr 23, 2024
2 parents d402516 + 3e4f132 commit f3c47ca
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ Unreleased
**********


[0.2.0] - 2024-04-23
************************************************

Changed
=======

* Applied updates required for XBlock 3.0


[0.1.10] - 2024-03-22
************************************************

Expand Down
2 changes: 1 addition & 1 deletion skill_tagging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Django app plugin for fetching and verifying tags for xblock skills.
"""

__version__ = '0.1.10'
__version__ = '0.2.0'

# pylint: disable=invalid-name
default_app_config = 'skill_tagging.apps.SkillTaggingConfig'
5 changes: 2 additions & 3 deletions skill_tagging/skill_tagging_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
from django.utils.translation import gettext as _
from openedx_events.learning.data import XBlockSkillVerificationData
from openedx_events.learning.signals import XBLOCK_SKILL_VERIFIED
from xblock.core import XBlock
from xblock.core import XBlock, XBlockMixin
from xblock.fields import Boolean, Scope
from xblock.internal import NamedAttributesMetaclass
from xblock.runtime import NoSuchServiceError

from .utils import get_api_client
Expand All @@ -27,7 +26,7 @@ def _(text):
return text


class SkillTaggingMixin(metaclass=NamedAttributesMetaclass):
class SkillTaggingMixin(XBlockMixin):
"""
XBlock Mixin for fetching and verifying skill tags
"""
Expand Down

0 comments on commit f3c47ca

Please sign in to comment.