context

The pypyr context maintains state for the duration of the pipeline. You use the context to persist & pass values between steps in the pipeline.

titledescription
variablesHow to use variables & arguments in a pipeline.
addAdd item to a set.
appendAppend item to a list.
configvarsInject variables from config into pipeline.
context parserCreate your own context parser to parse cli input arguments.
context parserspypyr context parsers initialize the context from your own custom cli input arguments.
contextclearRemove specified items from context.
contextclearallWipe the entire context.
contextcopyCopy entire context keys.
contextmergeMerges values into context, preserving the existing context hierarchy.
contextsetfOld name for set. Use set instead.
defaultSet values if they do not exist already.
inAdd arguments to context for the current step.
setSet & format context keys.
last updated on .