Steps to reproduce:
uv venv
'uv pip install dagster dagster-webserver dagster-embedded-elt "dlt[duckdb]" dlt-init-openapi
dagster scaffold --project_name dagster_dlt_with_open_api
mkdir dlt_sources
;mkdir github_from_openapi
- cd
dlt_sources
dlt-init-openapi github_from_openapi --url https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json
- find and replace the "FILL_ME_IN" with variables that make sense (e.g.,
dagster-io
for org;dagster
for "repo" - Note: this is a huge REST API and not all endpoints make sense to load. In this case I loaded all ~600 endpoints into Dagster to demonstrate but you would pick endpoints you want to load for a real use case
dagster dev
using the following in yourdefinitions.py
file- To test run an asset like
dlt_rest_api_resources_activitylist_stargazers_for_repo