File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ def create_container(
192192 slug = slugify (title , allow_unicode = True ) + '-' + uuid4 ().hex [- 6 :]
193193 # Make sure the slug is valid by first creating a key for the new container:
194194 container_key = LibraryContainerLocator (
195- library_key = library_key ,
195+ library_key ,
196196 container_type = container_type .value ,
197197 container_id = slug ,
198198 )
Original file line number Diff line number Diff line change 1919from openedx_learning .api import authoring as authoring_api
2020from openedx_learning .api .authoring_models import Component , ComponentVersion
2121from opaque_keys .edx .keys import UsageKeyV2
22- from opaque_keys .edx .locator import BundleDefinitionLocator , LibraryUsageLocatorV2
22+ from opaque_keys .edx .locator import LibraryUsageLocatorV2
2323from rest_framework .exceptions import NotFound
2424from xblock .core import XBlock
2525from xblock .exceptions import NoSuchUsage , NoSuchViewError
You can’t perform that action at this time.
0 commit comments