Skip to main content

Parameters

string
required
Name used to derive the node ID. Also set settings.about.name; this constructor does not fill it for you.
CodeAuthoringSettings
required
Python source, field bindings, and node settings. See the Code node reference for runtime behavior, environment variables, and platform checks.
AuthoringIdOptions
default:"{}"
Optional identity override.

Returns

AuthoredCodeNode
Add the node to definePipeline({ nodes }) and connect its ports.
Construction does not execute Python. Use runCodeNode or test.code to exercise it locally.