fermilink.drvloop.sketches module

fermilink.drvloop.sketches.format_sketch_population(records)[source]
Parameters:

records (list[dict[str, Any]])

Return type:

str

fermilink.drvloop.sketches.sketches_path_for(repo_dir)[source]
Parameters:

repo_dir (Path)

Return type:

Path

fermilink.drvloop.sketches.update_sketch_population(*, repo_dir, spec_context, validation_report, artifact_changes)[source]

Append a route/sketch population record and return latest records.

Parameters:
  • repo_dir (Path)

  • spec_context (DerivationSpecContext)

  • validation_report (dict[str, Any])

  • artifact_changes (list[dict[str, Any]])

Return type:

list[dict[str, Any]]