string loader
summary
- Add new
pypyr.loaders.string
loader that loads pipelines directly from strings.
from pypyr import pipelinerunner
pipeline = """\
steps:
- name: pypyr.steps.set
in:
set:
test: 1
"""
context = pipelinerunner.run(pipeline_name=pipeline,
loader="pypyr.loaders.string")
assert context["test"] == 1
- Fix bug with
!jsonify
custom tags failing to load with error "ruamel.yaml.constructor.ConstructorError: could not determine a constructor for the tag '!jsonify'".- this was due to a regression in the ruamel dependency
what's changed
- fix jsonify tag ruamel by @yaythomas in #328
- String Loader by @lucasrcezimbra in #326
- Bump version: 5.8.0 → 5.9.0 by @yaythomas in #329
new contributors
- @lucasrcezimbra made their first contribution in #326
Full Changelog: v5.8.0...v5.9.0