chore: sync deploy/gen_warehouse_workflow_draft.js

This commit is contained in:
admin committed 2026-11-24 17:12:32 +00:00
1 parent e678d6db4b
commit 66700906ae
1 file changed
+1 -1
+1 -1
View File
@@ -301,7 +301,7 @@ def main(item: str):
st = [] st = []
for fn in op["sensitive_fields"]: for fn in op["sensitive_fields"]:
fu = "urn:li:schemaField:(" + urn + "," + fn + ")" fu = "urn:li:schemaField:(" + urn + "," + fn + ")"
st.append(gql("mutation($i:AddTagsInput!){ addTags(input:$i) }", {"i": {"tagUrns": sens_urns, "resourceUrn": fu}})[0]) st.append(propose("globalTags", fu, {"tags": [{"tag": t} for t in sens_urns]})[0])
r7 = ("ok" if all(x == "ok" for x in st) else "err", ",".join(st)) r7 = ("ok" if all(x == "ok" for x in st) else "err", ",".join(st))
return {"result": json.dumps({"table": full, "schemaMetadata": r1[0], "datasetProperties": r2[0], return {"result": json.dumps({"table": full, "schemaMetadata": r1[0], "datasetProperties": r2[0],
"domain": r3[0], "tags": r4[0], "lineage": r5[0], "domain": r3[0], "tags": r4[0], "lineage": r5[0],