gws.plugin.template.py
¶
Pure python templates.
A template is a python module. This module must provide a function called main
,
which receives the arguments object and returns a gws.Response
object.
Source code: gws.plugin.template.py
Package Contents¶
- class gws.plugin.template.py.Config(*args, **kwargs)¶
Bases:
gws.base.template.Config
Python template
- path: gws.FilePath | None¶
path to a template file
- class gws.plugin.template.py.Props(*args, **kwargs)¶
Bases:
gws.base.template.Props
Object properties.