Using Python to get upstreaming and downstream models

We are trying to use DBT in airflow.
We create airflow DAGs with different models using incremental materialization.

ex. source → wallet → product
There are two airflow DAGs
We wan to know the wallet DAG whether it is finished before dbt run product.

How can I get those information to make cross-DAG dependencies or right execution order.