fastflowtransform.cli.bootstrap¶
CLIContext
dataclass
¶
Source code in src/fastflowtransform/cli/bootstrap.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | |
make_artifacts_store ¶
make_artifacts_store()
Create a PostgresArtifactsStore if artifacts.mode is 'db' or 'both'. Warn+continue behavior is applied at call sites (or via store.safe_call).
Source code in src/fastflowtransform/cli/bootstrap.py
51 52 53 54 55 56 57 58 59 60 61 | |
configure_executor_contracts ¶
configure_executor_contracts(project_dir, executor)
Load contracts from project_dir and attach them to the executor (if supported).
Mirrors the behaviour in fft run: parse per-table contracts and the
project-level contracts.yml; on parse errors, log a warning and continue
without contracts.
Source code in src/fastflowtransform/cli/bootstrap.py
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 | |