Source code for node_export_text

# This file is part of Sympathy for Data.
# Copyright (c) 2013, 2017, Combine Control Systems AB
#
# SYMPATHY FOR DATA COMMERCIAL LICENSE
# You should have received a link to the License with Sympathy for Data.

from sympathy.api import exporters
from sympathy.api import node as synode
from sympathy.api.nodeconfig import Port, Ports, Tag, Tags
from sylib import docs
from sylib.export import base


[docs] class ExportTexts(base.ExportMultiple, synode.Node): __doc__ = docs.EXPORTER_DOCS name = 'Export Texts' description = 'Export Texts' icon = 'export_text.svg' tags = Tags(Tag.Output.Export) plugins = (exporters.TextDataExporterBase, ) author = 'Erik der Hagopian' nodeid = 'org.sysess.sympathy.export.exportexts' related = [ 'org.sysess.sympathy.data.text.importtext', 'org.sysess.sympathy.data.text.importtexts', ] inputs = Ports([Port.Texts('Texts to be exported', name='port0'), Port.Datasources( 'External filenames', name='port1', n=(0, 1, 0))]) parameters = base.base_params()