6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-13 08:46:34 +00:00

chore: left out "Filters" word added

This commit is contained in:
Emad Rad 2023-08-11 14:17:03 +03:30 committed by Régis Behmo
parent f6507f995a
commit ef30dbc193

View File

@ -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'"),
)