paws.analytics (version 0.1.0)

glue_create_script: Transforms a directed acyclic graph (DAG) into code

Description

Transforms a directed acyclic graph (DAG) into code.

Usage

glue_create_script(DagNodes, DagEdges, Language)

Arguments

DagNodes

A list of the nodes in the DAG.

DagEdges

A list of the edges in the DAG.

Language

The programming language of the resulting code from the DAG.

Request syntax

svc$create_script(
  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"
    )
  ),
  Language = "PYTHON"|"SCALA"
)