Method
Extracts source code of workflow graph, ancestors, in_edges and traversal orders from the agent workflow.
REQUIRED |
KEY |
TYPE |
DESCRIPTION |
Yes |
workflowGraph |
WorkflowGraph |
The workflow graph to validate.
KEY |
TYPE |
Description |
commonSourceCode |
None |
None |
primaryStartNode |
Union[str, WorkflowGraphNode] |
The primary node to start the workflow from. |
edges |
List[WorkflowGraphEdge] |
A list of edges in the workflow graph, where each edge is a tuple of source, target, and details. |
nodes |
List[WorkflowGraphNode] |
A list of nodes in the workflow graph. |
|
No |
agentInterface |
AgentInterface |
The interface that the agent will be deployed with.
|
No |
packageRequirements |
list |
A list of package requirement strings. For example: ['numpy==1.2.3', 'pandas>=1.4.0'].
|
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.
KEY |
TYPE |
DESCRIPTION |
success |
Boolean |
true if the call succeeded, false if there was an error |
type |
|
|
description |
|
|