Skip to content

fabric/notebook ​

Run a notebook in this workspace.

The step takes no nested steps:. It takes timeout: (HH:MM:SS or D.HH:MM:SS) and retry: { count, interval }; the default is the portal policy.

with.notebook ​

The token name of the notebook; nb_x emits {{ .nb_x_id }}.

with.parameters ​

Map of name to { type: string | int | float | bool, value }. value is text or ${{ }}. Use block style: YAML cannot hold ${{ }} inside { } unquoted.

Example ​

yaml
- id: build_file
  uses: fabric/notebook
  with:
    notebook: nb_clean_orders
    parameters:
      period:
        type: string
        value: ${{ env.PERIOD }}
      rows:
        type: int
        value: ${{ int(vars.rows) }}

with, elsewhere in the file:

yaml
env:
  PERIOD: ${{ formatDateTime(vars.date_from, 'yyyyMM') }}

Released under the MIT License.