Previous topic

ninjecto.utils.types

This Page

ninjecto.values

Values loading and merging module.

Functions

  • load_values(): Get an unified data view of all values files and dot-notation values.
ninjecto.values.load_values(values_files, values)

Get an unified data view of all values files and dot-notation values.

Merge is done right to left.

Parameters
  • values_files (list) – List of Path objects pointing to files with values for the rendering.
  • values (OrderedDict) – Dictionary with keys in dot-notation and its associated values.
Returns

Normalized values loaded from all files and overrode with the values dictionary, if any.

Return type

dict