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
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.
contextsetfSet & format context keys.
defaultSet values if they do not exist already.
inAdd arguments to context for the current step.
last updated on .