import subprocess subprocess.run( "dbt run --models analytics_last_sales_week --target prod --profiles-dir ./profiles/sf_pswd_auth", shell=True, )