Accessing Explores and Models on a Branch through the API

sfenig
New Member

I’m trying to access models and explores only available on a dev branch through the api, but only getting the models from production.

sdk.update_session({“workspace_id”: “dev”})
sdk.git_branch(<project>) to verify I am indeed on dev and the correct branch

sdk.all_lookml_models()

Thanks in advance!

1 1 262
1 REPLY 1

sfenig
New Member

UPDATE: Turns out models aren’t recognized by the api until they’re on production.  You still can get the dev version of a model, but the model must exist on production.

Top Labels in this Space
Top Solution Authors