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

Backend: implement opaque key format for structures in libraries #1704

Open
bradenmacdonald opened this issue Mar 4, 2025 · 2 comments
Open

Comments

@bradenmacdonald
Copy link
Contributor

Based on the discussion in openedx/openedx-learning#282 , implement a new opaque key format for libraries (unless we decide we don't need one).

It should be very similar to LibraryUsageLocatorV2, but perhaps serialized as lc: for library container or ls: for library structure.

@pomegranited
Copy link
Contributor

pomegranited commented Mar 5, 2025

Implementation should cover:

@bradenmacdonald Should ^ live in new openedx.djangoapps.content_libraries.units.api module? Since there will be several unit-related APIs.

@bradenmacdonald
Copy link
Contributor Author

@pomegranited I'm not sure if we want a module just for units, because there will also be subsections and sections in libraries in the future. Though now that I think about it, we could put "units" into its own module, or "content" (components + units/subsections/sections) into its own module or "containers" (units/subsections/sections) into its own module, but whatever we do it should just be an internal division of the code, and everything should still be available if you use from openedx.djangoapps.content_libraries import api as library_api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In grooming
Development

No branches or pull requests

2 participants