Source: factory.service/package.core/ObjServicePython.py
Python script execution service.
Runs external Python scripts configured in def_service.
The script path is built from ExternalFolder (or a
default) plus PayloadTemplate (the script filename).
...
| Method | Signature | Description |
|---|---|---|
| patch_param | patch_param(text: str, depth: int = 0) -> str |
Replace service placeholders in text. |
| execute_script | execute_script(service_code: str, param1: str = '', param2: str = '', param3: str = '') -> str |
Execute a configured Python script in a sandbox. |
| process | process(context: dict) -> dict |
Workflow entry point for script execution. |
| run_workflow_direct | run_workflow_direct(guid: str, param1: str = '', param2: str = '', param3: str = '') -> str |
Legacy workflow direct entry point. |
| Connect | Connect() |
Legacy Connect interface. |
| Send | Send() |
Legacy Send interface — populates results. |
Execute a Python script in sandbox.