parent_dir

{{ parent_dir(path) }} computes the parent path of path as a string. This is a less powerful alternative to {{ Path(__file__).parent }}.

# triggers.yml

include:
  - "{{ parent_dir(wkdir()) }}"
  
triggers:
  <trigger name here>:
    type: function
    function: <import path to function>
    kwargs:
      arg1: value1

Last updated