Skip to content

Module shorthand #9

@pbloem

Description

@pbloem

For quick modules, with a single output, it would be nice to be able to use a shorthand. Something like the following:

module:
  name: big complex module
  inputs:
    dataset: smooth(csv('C:\data\dataset.csv), 0.3)

Which would be equivalent to

- module:
    name: csv
    inputs:
      file: 'C:\data\data.csv'

- module:
    name: smooth
    inputs:
      data: csv.result
      smoothing factor: 0.3

- module:
    name: big complex module
    inputs:
      dataset: smooth.result

This should be thought out carefully on the design level before implementation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions