Skip to content

Commit

Permalink
docs: update create next component version docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Oct 29, 2024
1 parent c6bb9e8 commit 07b4d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openedx_learning/apps/authoring/components/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def create_next_component_version(
A very common pattern for making a new ComponentVersion is going to be "make
it just like the last version, except changing these one or two things".
Before calling this, you should create any new contents via the contents
API, since ``content_to_replace`` needs Content IDs for the values.
API or send the content bytes as part of ``content_to_replace`` values.
The ``content_to_replace`` dict is a mapping of strings representing the
local path/key for a file, to ``Content.id`` or content bytes values. Using
Expand Down

0 comments on commit 07b4d07

Please sign in to comment.