recipe.configuration.json package

Submodules

recipe.configuration.json.recipe_config_v6 module

Manages the v6 recipe configuration schema

class recipe.configuration.json.recipe_config_v6.RecipeConfigurationV6(config=None, existing=None, do_validate=False)

Bases: object

Represents a v6 recipe configuration JSON

get_configuration()

Returns the recipe configuration represented by this JSON

Returns:The recipe configuration
Return type:recipe.configuration.configuration.RecipeConfiguration:
get_dict()

Returns the internal dictionary

Returns:The internal dictionary
Return type:dict
recipe.configuration.json.recipe_config_v6.convert_config_to_v6_json(config)

Returns the v6 recipe configuration JSON for the given configuration

Parameters:config (recipe.configuration.configuration.RecipeConfiguration) – The recipe configuration
Returns:The v6 recipe configuration JSON
Return type:recipe.configuration.json.recipe_config_v6.RecipeConfigurationV6

Module contents