:tocdepth: 3 :py:mod:`gws.plugin.template.text` ================================== .. py:module:: gws.plugin.template.text .. autoapi-nested-parse:: CX text-only templates. This template is based on Jump, like html templates, but doesn't support custom commands and non-text outputs. **Source code:** :source:`gws.plugin.template.text` Package Contents ---------------- .. py:class:: Config Bases: :py:obj:`gws.base.template.Config` Text-only template. (added in 8.1) .. py:attribute:: path :type: Optional[gws.FilePath] Path to a template file. .. py:attribute:: text :type: str :value: '' Template content. .. py:class:: Engine Bases: :py:obj:`gws.lib.vendor.jump.Engine` .. py:class:: Object Bases: :py:obj:`gws.base.template.Object` .. py:attribute:: compiledFn :value: None .. py:attribute:: compiledTime :type: float :value: 0 .. py:attribute:: path :type: str .. py:attribute:: text :type: str .. py:method:: compile(engine: Engine) .. py:method:: configure() .. py:method:: error_handler(exc, path, line, env) .. py:method:: finalize(tri: gws.TemplateRenderInput, res: str, args: dict, main_engine: Engine) .. py:method:: render(tri) .. py:class:: Props Bases: :py:obj:`gws.base.template.Props`