Function create_code_node

Source
pub fn create_code_node(
    name: String,
    query_defs: Vec<Option<String>>,
    output_def: String,
    source_type: SourceNodeType,
    output_tables: Vec<String>,
) -> Item
Expand description

Takes in executable code and returns a node that executes said code when triggered This executable code can take the format of:

  • a raw string of code in a supported language
  • a path to an S3 bucket containing code in a supported language
  • a zip file containing code in a supported language