Here is the documentation of the different modules of goatlib. It is directly extracted from the source code.
PYTI module containing the Task definition.
A simple action that can be selected to be executed.
Inputs : | {<input-name> : <item query>} |
---|---|
Category : | Category id, multiple tasks may have the same category if they represent the same step. |
PYTI module for Item and Item utility functions and classes.
Items represents Informations exchanged between Tasks.
It serve as main input-ouput objects for Tasks
An item contains three main concepts:
Classifiers : | A set of hierachical classifiers e.g: {project.python, project.source} |
---|---|
Data : | A mapping containing the item data. The key - values pairs available in the Item depends of its classifiers. |
Tags : | A collection of tags that will be added to the task’s outputs. |
Return classifiers of item.
Check that item has all tags passed as arguments.
Tags : | Collection of tags to check. |
---|
Return True if item’s classifiers and tags match the query
Valid queries are:
type1: check that item is classified “type1”
type1 and type2: check that item is classifierd both “type1” and “type2”
#tag1: check that item has tag “tag1”
#tag1#tag2: check that item has both tags “tag1” and “tag2”
- type1 and type2#tag1#tag2: check that item is classified both “type1”
and “type2” and has both tags “tag1” and “tag2”
Query : | Boolean condition of classifiers and tags. |
---|
Step execution status (Missing, Skipped, Killed, Error, Failure, NoData, Partial and Success)
PYTI module containing the Store definition and store utility functions.