drytoml.app.export module¶
This module contains the export command and its required utilities.
-
drytoml.app.export.
export
(file='pyproject.toml', key='__extends') → str¶ Generate resulting TOML after transclusion.
- Parameters
file – TOML file to transclude values.
key – Name too look for inside the file to activate interpolation.
- Returns
The transcluded toml.
Example
>>> toml = export("isort.toml", "base")