Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 561 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 561 Bytes

xproj-lineage-poc

POC for a DAG of projects using the Discovery API

Usage

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