Expose Argo only-json workflow template on DeployedFlow#3220
Conversation
d86204f to
20bbb8b
Compare
Greptile SummaryThis PR exposes the compiled Argo
Confidence Score: 5/5The change is safe to merge — it adds a read-only property and wires a new optional payload through an existing, well-tested mechanism without altering any existing code paths. The refactoring is minimal and surgical: the only_json=False path is functionally unchanged (attribute file still written before deployment), and the only_json=True path now correctly writes the attribute file after make_flow() so the compiled template is available. The new workflow_template property is purely additive and returns None gracefully for all pre-existing usage. No files require special attention. Important Files Changed
Reviews (2): Last reviewed commit: "feat: expose Argo only-json workflow tem..." | Re-trigger Greptile |
20bbb8b to
df14eee
Compare
Summary
argo-workflows create --only-jsonstdout behavioradditional_infoforonly_json=TrueArgoWorkflowsDeployedFlow.workflow_template