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.
How to Contribute
Contributions are welcome! See our CONTRIBUTING file for more information – it also contains guidelines for how to maintain high code quality, which will make your contribution more likely to be accepted.
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-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4afb22b211741808e913e74c5fcc9c3f81111db16a3bdd4e3fb846c4464527c3 |
|
MD5 | d1517d8246c9ba6d3aa1a0b34a0aa69b |
|
BLAKE2b-256 | 52b4ec0e7699261f0cca604d7d92007af9d3238c14e911cefab5687d291ea7ba |