fastflowtransform.artifacts¶
write_manifest ¶
write_manifest(project_dir)
Write manifest.json with minimal compatibility: - nodes: {name, path, deps, materialized, relation, kind} - macros: {name -> path} - sources: verbatim REGISTRY.sources - generated_at
Source code in src/fastflowtransform/artifacts.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
write_run_results ¶
write_run_results(project_dir, *, started_at, finished_at, node_results, budgets=None)
Write run_results.json containing run envelope and per-node results. Optionally includes a 'budgets' summary block.
Source code in src/fastflowtransform/artifacts.py
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | |
write_catalog ¶
write_catalog(project_dir, executor)
Write catalog.json: - relations: map of relation -> {columns:[{name,dtype,nullable}]}
Source code in src/fastflowtransform/artifacts.py
291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 | |
load_last_run_durations ¶
load_last_run_durations(project_dir)
Best-effort reader for the last run_results.json.
Returns: { model_name: duration_in_seconds }. On any error or missing file: {}.
Source code in src/fastflowtransform/artifacts.py
321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 | |