v5.9.0
版本发布时间: 2023-09-21 16:21:12
pypyr/pypyr最新发布版本:v5.9.1(2023-09-22 11:13:53)
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 https://github.com/pypyr/pypyr/pull/328
- String Loader by @lucasrcezimbra in https://github.com/pypyr/pypyr/pull/326
- Bump version: 5.8.0 → 5.9.0 by @yaythomas in https://github.com/pypyr/pypyr/pull/329
new contributors
- @lucasrcezimbra made their first contribution in https://github.com/pypyr/pypyr/pull/326
Full Changelog: https://github.com/pypyr/pypyr/compare/v5.8.0...v5.9.0