POC for a DAG of projects using the Discovery API
- Create a python virtual env and activate it
- Set env vars:
- DBT_API_TOKEN (required) - token for hitting discovery API
- DBT_ACCOUNT_ID - dbt Cloud Account ID to analyze
- DBT_ENV_ID (required) - dbt Cloud Environment ID for model-level information
- DBT_METADATA_URL (optional) - metadata API url (defaults to beta URL)
- Install dependencies
pip install --upgrade pip
pip install -r requirements.txt
- Run the app
streamlit run home.py