Skip to content

Commit

Permalink
refactor: deprecated xblockutils in favor of xblock.utils
Browse files Browse the repository at this point in the history
  • Loading branch information
navinkarkera committed Aug 23, 2024
2 parents 3363318 + d827ea3 commit 55d4aa0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recommender/recommender.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
from xblock.fields import Scope, List, Dict, Boolean, String, JSONField
from web_fragments.fragment import Fragment
from xblock.reference.plugins import Filesystem
from xblockutils.resources import ResourceLoader
try:
from xblock.utils.resources import ResourceLoader
except ModuleNotFoundError: # For backward compatibility with releases older than Quince.
from xblockutils.resources import ResourceLoader

# TODO: Should be updated once XBlocks and tracking logs have finalized APIs
# and documentation.
Expand Down

0 comments on commit 55d4aa0

Please sign in to comment.