Skip to content

Module Contribution

Adam M. Swanda edited this page May 8, 2018 · 2 revisions

Each module follows the same standardized method and many commonly used libraries are available within the lib/common.py library.

Firstly, to get used to the format of modules it is highly recommended to read through several of your favorite modules and see how they are viewed within an IDE or Text Editor.

Secondly, realize that all artifacts are passed to each module as a dictionary retrieved from MongoDB. The entire artifact is sent to each module so that the module can interact with and contribute to their fields. Once the module finishes, the module will return the entire artifact back to the primary Dispatch processor and act on any additional or edited fields - typically the data and children field.

Clone this wiki locally