fastflowtransform.artifacts.files¶
build_manifest ¶
build_manifest(project_dir)
Build manifest.json payload 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/files.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 | |
build_run_results ¶
build_run_results(project_dir, *, started_at, finished_at, node_results, budgets=None)
Build run_results.json payload containing run envelope and per-node results. Optionally includes a 'budgets' summary block.
Source code in src/fastflowtransform/artifacts/files.py
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | |
build_catalog ¶
build_catalog(project_dir, executor)
Build catalog.json payload: - relations: map of relation -> {columns:[{name,dtype,nullable}]}
Source code in src/fastflowtransform/artifacts/files.py
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 | |
load_last_run_durations ¶
load_last_run_durations(project_dir, *, artifacts_mode=None, artifacts_store=None, env_name=None, model_engine=None)
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/files.py
350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 | |
build_test_results ¶
build_test_results(project_dir, *, started_at, finished_at, results)
Build test_results.json payload containing a run envelope + individual test outcomes.
Source code in src/fastflowtransform/artifacts/files.py
415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 | |
build_utest_results ¶
build_utest_results(project_dir, *, started_at, finished_at, failures, results, engine=None)
Build utest_results.json payload containing a run envelope + per-case results.
Source code in src/fastflowtransform/artifacts/files.py
470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 | |