EoxHooks
Project description
Features
Installation
Open edX devstack
Clone this repo in the src folder of your devstack.
Open a new Lms/Devstack shell.
Install the plugin as follows: pip install -e /path/to/your/src/folder
Restart Lms/Studio services.
Usage
Before using eox-hooks, this plugin must be configured using EOX_HOOKS_DEFINITIONS:
{
"trigger_event": {
"module": "path_to_module",
"action": "action_name",
"fail_silently": True,
},
}
Where:
trigger_event: is the name of the signal sent by the platform. For example: pre_enrollment_trigger.
module: path to the module where the action to be executed is defined. For example: eox_hooks.tests.tests_utils.
action: name of the action to be executed. For example: custom_action.
fail_silently: defines what happens if an exception raises while executing the action. If False, then the exception is raised.
Contributing
Add your contribution policy. (If required)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for eox_hooks-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c8201fe3d737ffaee63c05b34985718fb87551af42fcee517a69d944fa61582 |
|
MD5 | e8697f3439e01e0220801460792d6899 |
|
BLAKE2b-256 | 4458d94cb42008e7a9480678d8ccdbf828e10191d5beca62c2638d0b443bb5ee |