Skip to content

Set or Overwrite parameters¤

Python Plugin

This operator is part of a Python Plugin Package. In order to use it, you need to install it, e.g. with cmemc.

Connect this task to a config port of another task in order to set or overwrite the parameter values of this task.

To configure this task, add one key: value pair per line to the Parameter Configuration multiline field (YAML syntax). key is the ID of the parameter you want to set or update, value is the new value to set.

You can also use multiline values with | (be aware of the correct indentation with spaces, not tabs).

Example parameter configuration:

url: http://example.org
method: GET
query: |
    SELECT ?s
    WHERE {{
      ?s ?p ?o
    }}
execute_once: True
limit: 5

Parameter¤

Parameter Configuration¤

Your parameter configuration in YAML Syntax. One ‘parameter: value’ pair per line. url: http://example.org method: GET query: | SELECT ?s WHERE {{ ?s ?p ?o }} execute_once: True limit: 5

  • Datatype: code-yaml
  • Default Value:
    url: http://example.org
    method: GET
    query: |
        SELECT ?s
        WHERE {{
          ?s ?p ?o
        }}
    execute_once: True
    limit: 5
    

Comments