view tests/data/reference-style.yml @ 412:816327e178b0

Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends. This is done be refactoring Configuration and putting the coercing methods into a common mixin.
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 20 Nov 2021 13:52:08 +0100
parents 15a1d5fd0aa1
children
line wrap: on
line source

# -*- coding: utf-8; mode: yaml; indent-tabs-mode: nil; -*-
#
# For testing "references"
#
%YAML 1.1
---

wsgi:
  profiler:
    # Replace the params dict with the "debugger"
    params: !!str '{{ref:#wsgi.debugger}}'

testref:
  here: '{{ref:#wsgi.profiler}}'

expand-ref-value:
  key0: '{{testref.here.params.params.evalex}}'