Skip to content
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

Remove xblockutils in Favor of xblock.utils #91

Merged
merged 3 commits into from
Aug 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading