Is your feature request related to a problem? Please describe.
I was following the instructions for programmatic scans and when it came to entering a path to the scan_yml_file and warehouse_yml_file I entered a path using from pathlib import Path:
scan_builder.scan_yml_file must be str, but was <class 'pathlib.PosixPath'>: /home/my_user/my_repo/soda_warehouse_directory/tables/warehouse_local/my_scan.yml
It works when I just convert the Path to str, but supporting both would be nice since str is more common, but Path is nicer:
Is your feature request related to a problem? Please describe. I was following the instructions for programmatic scans and when it came to entering a path to the
scan_yml_file
andwarehouse_yml_file
I entered a path usingfrom pathlib import Path
:but I received an error:
It works when I just convert the Path to str, but supporting both would be nice since str is more common, but Path is nicer:
Describe the solution you'd like Allow
Path
variables as well asstr
when entering a path to a file.Soda SQL Version: 2.1.0b18