Slackbot
05/23/2022, 11:03 PMBrandon Williams
05/23/2022, 11:13 PMpathlib.Path(__file__).absolute().resolve() / "path/to/file.csv"
Brandon Williams
05/23/2022, 11:14 PMPath(subprocess.Popen("git rev-parse --show-toplevel", shell=True, stdout=subprocess.PIPE)
.stdout.read().decode().strip())
Eduardo
tasks:
- source: ...
param:
path: '{{root}}/path/to/file.csv'
{{root}}
will resolve to the parent of pipeline.yaml
https://docs.ploomber.io/en/latest/api/spec.html#default-placeholdersJess Mankewitz (they/she)
05/24/2022, 5:55 PM