Python3 Script Container Plugin
The Python3 script container plugin allows you execute Python3 scripts on the Release server.
note
In the release flow editor, Container tasks have a blue border.
Prerequisites
For Python3 script integration, you need the Digital.ai Release Runner setup to run the container tasks.
Installing the Python3 Script (Container) Plugin
To install the Python3 Script (Container) plugin in Digital.ai Release:
- Launch Release.
- Click the Settings icon located on the right side of the top navigation bar.
- From the dropdown menu, select Manage Plugins.
- In the search bar, type Python3 Script (Container).
- When the plugin appears in the search results, click Install Now.
Once installed, the Python3 Script (Container) plugin will be available for use in your Release flows.
Python3 script (Container)
The Python3 script task is used to run a Python3 scripts on the Release server.
- In the release flow tab of a Release template, add a task of type Script > Python3 Script (Container).
- Click the added task to open it.
- In the Script field, type or paste the Python3 script that you want to execute.
Example
a = 10
b = 20
result = a + b
The result
value is available in the output properties.
note
Only the default modules of Python 3 are supported.