1616
1717from opaque_keys import OpaqueKey , InvalidKeyError
1818from opaque_keys .edx .keys import AssetKey , CourseKey , DefinitionKey , \
19- LearningContextKey , UsageKey , UsageKeyV2 , LibraryElementKey
19+ LearningContextKey , UsageKey , UsageKeyV2 , LibraryItemKey
2020
2121log = logging .getLogger (__name__ )
2222
@@ -1623,7 +1623,7 @@ def html_id(self) -> str:
16231623 return str (self )
16241624
16251625
1626- class LibraryCollectionLocator (CheckFieldMixin , LibraryElementKey ):
1626+ class LibraryCollectionLocator (CheckFieldMixin , LibraryItemKey ):
16271627 """
16281628 When serialized, these keys look like:
16291629 lib-collection:org:lib:collection-id
@@ -1654,7 +1654,7 @@ def __init__(self, library_key: LibraryLocatorV2, collection_id: str):
16541654 @property
16551655 def org (self ) -> str | None : # pragma: no cover
16561656 """
1657- The organization that this object belongs to.
1657+ The organization that this Collection belongs to.
16581658 """
16591659 return self .library_key .org
16601660
@@ -1677,7 +1677,7 @@ def _from_string(cls, serialized: str) -> Self:
16771677 raise InvalidKeyError (cls , serialized ) from error
16781678
16791679
1680- class LibraryContainerLocator (CheckFieldMixin , LibraryElementKey ):
1680+ class LibraryContainerLocator (CheckFieldMixin , LibraryItemKey ):
16811681 """
16821682 When serialized, these keys look like:
16831683 lct:org:lib:ct-type:ct-id
@@ -1711,7 +1711,7 @@ def __init__(self, library_key: LibraryLocatorV2, container_type: str, container
17111711 @property
17121712 def org (self ) -> str | None : # pragma: no cover
17131713 """
1714- The organization that this object belongs to.
1714+ The organization that this Container belongs to.
17151715 """
17161716 return self .library_key .org
17171717
0 commit comments