Steps to reproduce:
uv venv'uv pip install dagster dagster-webserver dagster-embedded-elt "dlt[duckdb]" dlt-init-openapidagster scaffold --project_name dagster_dlt_with_open_apimkdir 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-iofor org;dagsterfor "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 devusing the following in yourdefinitions.pyfile- To test run an asset like
dlt_rest_api_resources_activitylist_stargazers_for_repo