docs: update course optimizer toggle documentation to accurate represent toggles working

This commit is contained in:
Saad Yousaf
2025-03-05 17:40:07 +05:00
committed by Saad Yousaf
parent ab3928284f
commit fb31f82177

View File

@@ -672,11 +672,11 @@ def libraries_v2_enabled():
# .. toggle_name: contentstore.enable_course_optimizer
# .. toggle_implementation: CourseWaffleFlag
# .. toggle_default: False
# .. toggle_description: This flag enables the use of unique anonymous_user_id during studio preview
# .. toggle_description: This flag enables the course optimizer tool in the authoring MFE.
# .. toggle_use_cases: temporary
# .. toggle_creation_date: 2022-05-04
# .. toggle_target_removal_date: 2022-05-30
# .. toggle_tickets: MST-1455
# .. toggle_creation_date: 2025-01-17
# .. toggle_target_removal_date: 2025-05-30
# .. toggle_tickets: TNL-11837
ENABLE_COURSE_OPTIMIZER = CourseWaffleFlag(
f'{CONTENTSTORE_NAMESPACE}.enable_course_optimizer', __name__
)
@@ -684,6 +684,6 @@ ENABLE_COURSE_OPTIMIZER = CourseWaffleFlag(
def enable_course_optimizer(course_id):
"""
Returns a boolean if individualized anonymous_user_id is enabled on the course
Returns a boolean if course optimizer is enabled on the course
"""
return ENABLE_COURSE_OPTIMIZER.is_enabled(course_id)