# parent\_dir

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

```yaml
# profile.yml

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

```
