parent_dir

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

# profile.yml

default_profile:
  adapters:
    bigquery_profile_example:
      creds: "{{ parent_dir(wkdir()) }}"

Last updated