1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Python] How do I run DBT models from a Python script or program?

Discussão em 'Python' iniciado por Stack, Setembro 28, 2024 às 04:22.

  1. Stack

    Stack Membro Participativo

    I have a DBT project, and a python script will be grabbing data from the postgresql to produce output.

    However, part of the python script will need to make the DBT run. I haven't found the library that will let me cause a DBT run from an external script, but I'm pretty sure it exists. How do I do this?

    ETA: The correct answer may be to download the DBT CLI and then use python system calls to use that.... I was hoping for a library, but I'll take what I can get.

    Continue reading...

Compartilhe esta Página