dgpost.main
Module containing the execution functions for dgpost.
- dgpost.main.version_check(project='dgpost')
- dgpost.main.run(path, patch=None)
Main API execution function. Loads the recipe from the provided
path
, patches the file paths specified within the recipe, if necessary, and processes the following entries, in order:Note
When saving a table, its metadata entry will contain dgpost version information, as well as a copy of the recipe used to create the saved object.
- Parameters:
path (
str
) – Path to the job specification, passed todgpost.utils.parse()
- Returns:
A tuple of the loaded datagrams and exported & transformed tables.
- Return type:
(datagrams, tables)