MCPcopy Create free account
hub / github.com/assemblerflow/flowcraft / export_directives

Method export_directives

flowcraft/generator/engine.py:1465–1476  ·  view source on GitHub ↗

Export pipeline directives as a JSON to stdout

(self)

Source from the content-addressed store, hash-verified

1463 sys.stdout.write(json.dumps(params_json))
1464
1465 def export_directives(self):
1466 """Export pipeline directives as a JSON to stdout
1467 """
1468
1469 directives_json = {}
1470
1471 # Skip first init process
1472 for p in self.processes[1:]:
1473 directives_json[p.template] = p.directives
1474
1475 # Flush params json to stdout
1476 sys.stdout.write(json.dumps(directives_json))
1477
1478 def fetch_docker_tags(self):
1479 """

Callers 1

buildFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected