looker-open-source / sdk-codegen

One SDK to rule them all, and in the codegen bind them
MIT License
232 stars 195 forks source link

Looker SDK (Python): Missing a attribute - 'lookml_link' in `lookml_model_explore` method. #813

Open sudhanshu456 opened 3 years ago

sudhanshu456 commented 3 years ago

I was using Looker API URLs throughout my script to automate stuff but I had to shift to LookerSDK 3.1.

I was using the below endpoint before I switch to the LookerSdk - lookml_model_explore method

https://atlan.cloud.looker.com:443/api/3.1/lookml_models/modelName/explores/explore_name

In above API endpoint I was getting the value for lookml_link but in SDK that attribute is missing.

API Response Screenshot image

FYI: I'm not talking about lookml_link of Fields described in Explore but where that Explore is defined inside the project and it will lead to Looker IDE.

Also nothing is mentioned about the lookml_link of explore in API Reference.

API Reference for Get LookML Model Explore

joeldodge79 commented 3 years ago

hm, looks like there's a bug in our docs site. This field is actually only available in 4.0

cfernhout commented 1 year ago

Hi, I'm using API version 4.0 and using the SDK the value of the lookml_link is None, while using the API Explorer it's there.