Cargar también las semillas de los libros NCI al construir oro
This commit is contained in:
@@ -155,7 +155,7 @@ def analyze():
|
|||||||
def build_gold(context: dg.OpExecutionContext) -> None:
|
def build_gold(context: dg.OpExecutionContext) -> None:
|
||||||
"""Silver and everything derived from it, with the deployed code: what an ingest ends
|
"""Silver and everything derived from it, with the deployed code: what an ingest ends
|
||||||
with, without ingesting (after deploying a version that changes the tables)."""
|
with, without ingesting (after deploying a version that changes the tables)."""
|
||||||
silver.build(["silver+", "+nci_risk_lookup", "nci_risk_estimate"])
|
silver.build(["silver+", *silver.NCI_REFERENCES])
|
||||||
context.log.info("silver and gold rebuilt")
|
context.log.info("silver and gold rebuilt")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -544,6 +544,6 @@ def run(pipeline_id: str, pipeline: Pipeline, log: Callable[[str], None] = print
|
|||||||
log(f"{node.id} ({node.kind}) done")
|
log(f"{node.id} ({node.kind}) done")
|
||||||
if entities := sorted({n.entity for n in pipeline.nodes if n.kind == "target"}):
|
if entities := sorted({n.entity for n in pipeline.nodes if n.kind == "target"}):
|
||||||
silver.build(
|
silver.build(
|
||||||
["silver+", "+nci_risk_lookup"]
|
["silver+", *silver.NCI_REFERENCES]
|
||||||
) # every entity (empty if never staged) and what derives
|
) # every entity (empty if never staged) and what derives
|
||||||
log(f"silver and gold, from {', '.join(entities)}")
|
log(f"silver and gold, from {', '.join(entities)}")
|
||||||
|
|||||||
Reference in New Issue
Block a user