From a006bdde170eb314967bace86c1d9f27d4201335 Mon Sep 17 00:00:00 2001 From: Sofiane Bebert Date: Sat, 6 Feb 2021 20:44:23 +0000 Subject: [PATCH] add annotation for DEBUG_MESSAGE_WAFFLE_FLAG --- openedx/core/djangoapps/schedules/config.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/openedx/core/djangoapps/schedules/config.py b/openedx/core/djangoapps/schedules/config.py index 82c3188810..2c7c0d0fc5 100644 --- a/openedx/core/djangoapps/schedules/config.py +++ b/openedx/core/djangoapps/schedules/config.py @@ -4,7 +4,7 @@ Contains configuration for schedules app from edx_toggles.toggles import ( - LegacyWaffleFlag, + WaffleFlag, LegacyWaffleFlagNamespace, LegacyWaffleSwitch, LegacyWaffleSwitchNamespace @@ -27,7 +27,13 @@ COURSE_UPDATE_WAFFLE_FLAG = CourseWaffleFlag( module_name=__name__, ) -DEBUG_MESSAGE_WAFFLE_FLAG = LegacyWaffleFlag(WAFFLE_FLAG_NAMESPACE, 'enable_debugging', __name__) +# .. toggle_name: schedules.enable_debugging +# .. toggle_implementation: WaffleFlag +# .. toggle_default: False +# .. toggle_description: Enable debug level of logging for schedules messages. +# .. toggle_use_cases: open_edx +# .. toggle_creation_date: 2017-09-17 +DEBUG_MESSAGE_WAFFLE_FLAG = WaffleFlag('schedules.enable_debugging', __name__) COURSE_UPDATE_SHOW_UNSUBSCRIBE_WAFFLE_SWITCH = LegacyWaffleSwitch( WAFFLE_SWITCH_NAMESPACE,