tzf.pyramid_yml API

pyramid_yml main functionality.

tzf.pyramid_yml.config_defaults(configurator, config_locations, files=['config.yaml', 'config.yml'])[source]

Read and extends/creates configuration from yaml source.

Note

If exists, this method extends config with defaults, so it will not override existing values, merely add those, that were not defined already!

Parameters:
  • configurator (pyramid.config.Configurator) – pyramid’s app configurator
  • config_locations (list) – list of yaml file locations
  • files (list) – list of files to include from location
tzf.pyramid_yml.includeme(configurator)[source]

Add yaml configuration utilities.

Parameters:configurator (pyramid.config.Configurator) – pyramid’s app configurator

Previous topic

Usage

This Page