From ef30dbc193334e91a3c725ceb8e052ea2c0be453 Mon Sep 17 00:00:00 2001 From: Emad Rad Date: Fri, 11 Aug 2023 14:17:03 +0330 Subject: [PATCH] chore: left out "Filters" word added --- tutor/hooks/catalog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutor/hooks/catalog.py b/tutor/hooks/catalog.py index 20d3e32..e1eac6d 100644 --- a/tutor/hooks/catalog.py +++ b/tutor/hooks/catalog.py @@ -147,11 +147,11 @@ class Filters: instance, you can add a "hello" to the init task of the lms container by modifying the :py:data:`CLI_DO_INIT_TASKS` filter:: - hooks.CLI_DO_INIT_TASKS.add_item(("lms", "echo hello")) + hooks.Filters.CLI_DO_INIT_TASKS.add_item(("lms", "echo hello")) To add multiple items at a time, use ``add_items``:: - hooks.CLI_DO_INIT_TASKS.add_items( + hooks.Filters.CLI_DO_INIT_TASKS.add_items( ("lms", "echo 'hello from lms'"), ("cms", "echo 'hello from cms'"), )