Skip to content

Get Dataflow Graph

glue_get_dataflow_graph R Documentation

Transforms a Python script into a directed acyclic graph (DAG)

Description

Transforms a Python script into a directed acyclic graph (DAG).

Usage

glue_get_dataflow_graph(PythonScript)

Arguments

PythonScript

The Python script to transform.

Value

A list with the following syntax:

list(
  DagNodes = list(
    list(
      Id = "string",
      NodeType = "string",
      Args = list(
        list(
          Name = "string",
          Value = "string",
          Param = TRUE|FALSE
        )
      ),
      LineNumber = 123
    )
  ),
  DagEdges = list(
    list(
      Source = "string",
      Target = "string",
      TargetParameter = "string"
    )
  )
)

Request syntax

svc$get_dataflow_graph(
  PythonScript = "string"
)