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:
parent
f6507f995a
commit
ef30dbc193
@ -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'"),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user