weaver.processes.builtin
Submodules
Package Contents
- weaver.processes.builtin.get_builtin_reference_mapping(root: os.PathLike[str] = WEAVER_BUILTIN_DIR) Dict[str, BuiltinResourceMap] [source]
Generates a mapping of reference to actual
builtin
package file path.
- weaver.processes.builtin.register_builtin_processes(container: weaver.typedefs.AnySettingsContainer) None [source]
Registers every
builtin
CWL package to the processes database.CWL definitions must be located within the
weaver.processes.builtin
module.Note
Although any settings can be provided as input, it is better to specify a
pyramid.registry.Registry
orpyramid.request.Request
instance in order to retrieve any pre-established database connection stored as reference. Specifying configuration settings will force recreation of a new database connection.