diff options
author | Sebastian Koslowski <sebastian.koslowski@gmail.com> | 2016-05-03 17:13:08 +0200 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2017-06-29 09:16:49 -0700 |
commit | 7f7fa2f91467fdb2b11312be8562e7b51fdeb199 (patch) | |
tree | 24268bac15b9920d2a15ddbb45eaf3b9b03718a1 /grc/blocks/epy_module.xml | |
parent | 44cae388881821942e691a4d69a923bbd8d347db (diff) |
grc: added yaml/mako support
Includes basic converter from XML/Cheetah to YAML/Mako based block format.
Diffstat (limited to 'grc/blocks/epy_module.xml')
-rw-r--r-- | grc/blocks/epy_module.xml | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/grc/blocks/epy_module.xml b/grc/blocks/epy_module.xml deleted file mode 100644 index fa3e5f91f4..0000000000 --- a/grc/blocks/epy_module.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0"?> -<block> - <name>Python Module</name> - <key>epy_module</key> - <import>import $id # embedded python module</import> - <make></make> - <param> - <name>Code</name> - <key>source_code</key> - <value># this module will be imported in the into your flowgraph</value> - <type>_multiline_python_external</type> - <hide>part</hide> - </param> - <doc>This block lets you embed a python module in your flowgraph. - -Code you put in this module is accessible in other blocks using the ID of this -block. Example: - -If you put - - a = 2 - - def double(arg): - return 2 * arg - -in a Python Module Block with the ID 'stuff' you can use code like - - stuff.a # evals to 2 - stuff.double(3) # evals to 6 - -to set parameters of other blocks in your flowgraph.</doc> -</block> |