Constants

Two enumerations describe every bundle. BundleFormat is the stored form of a bundle: a single XML file, or a ZIP archive with attachments. Bundle export methods return it so you can check which form was written. BundleCategory is the role of a bundle, such as recipe or product. Each bundle class reports its category with get_category().

API

class momotor.bundles.const.BundleCategory(value)

Bundle category constants

CONFIG = 'config'
PRODUCT = 'product'
RECIPE = 'recipe'
RESULTS = 'results'
TEST_RESULTS = 'test_results'
class momotor.bundles.const.BundleFormat(value)

Bundle format constants

XML = 'xml'
ZIP = 'zip'