dump_application#

eclypse.io.functions.dump_application(application, target, using=None, *, application_context=None, registry=IORegistry(importers=mappingproxy({('application', 'docker-compose'): <class 'eclypse.io.defaults.docker_compose.DockerComposeImporter'>, ('application', 'eclypse-json'): <class 'eclypse.io.defaults.json.JSONImporter'>, ('application', 'gml'): <class 'eclypse.io.defaults.gml.GMLImporter'>, ('application', 'graphml'): <class 'eclypse.io.defaults.graphml.GraphMLImporter'>, ('application', 'node-link-json'): <class 'eclypse.io.defaults.node_link.NodeLinkImporter'>, ('application', 'tosca'): <class 'eclypse.io.defaults.tosca.TOSCAImporter'>, ('infrastructure', 'eclypse-json'): <class 'eclypse.io.defaults.json.JSONImporter'>, ('infrastructure', 'gml'): <class 'eclypse.io.defaults.gml.GMLImporter'>, ('infrastructure', 'graphml'): <class 'eclypse.io.defaults.graphml.GraphMLImporter'>, ('infrastructure', 'node-link-json'): <class 'eclypse.io.defaults.node_link.NodeLinkImporter'>, ('infrastructure', 'tosca'): <class 'eclypse.io.defaults.tosca.TOSCAImporter'>}), exporters=mappingproxy({('application', 'docker-compose'): <class 'eclypse.io.defaults.docker_compose.DockerComposeExporter'>, ('application', 'eclypse-json'): <class 'eclypse.io.defaults.json.JSONExporter'>, ('application', 'gml'): <class 'eclypse.io.defaults.gml.GMLExporter'>, ('application', 'graphml'): <class 'eclypse.io.defaults.graphml.GraphMLExporter'>, ('application', 'node-link-json'): <class 'eclypse.io.defaults.node_link.NodeLinkExporter'>, ('application', 'tosca'): <class 'eclypse.io.defaults.tosca.TOSCAExporter'>, ('infrastructure', 'eclypse-json'): <class 'eclypse.io.defaults.json.JSONExporter'>, ('infrastructure', 'gml'): <class 'eclypse.io.defaults.gml.GMLExporter'>, ('infrastructure', 'graphml'): <class 'eclypse.io.defaults.graphml.GraphMLExporter'>, ('infrastructure', 'node-link-json'): <class 'eclypse.io.defaults.node_link.NodeLinkExporter'>, ('infrastructure', 'tosca'): <class 'eclypse.io.defaults.tosca.TOSCAExporter'>})))[source]#

Export an application graph.

Parameters:
  • application (Application) – The application to export.

  • target (str | Path) – The target path where the graph is written.

  • using (str | type[GraphExporter] | GraphExporter | None) – A built-in format name, custom exporter class, custom exporter instance, or None for suffix inference.

  • application_context (ApplicationContext | None) – Optional import/export customisation.

  • registry (IORegistry) – Registry used to resolve built-in format names.

Return type:

None