import subprocess subprocess.run("dbt run --models test_pipenv --profiles-dir .", shell=True)