Skip to content

SDK updates for breaking change on query id #1514

Answered by aschott-looker
wsjk asked this question in Q&A
Discussion options

You must be logged in to vote

The API spec is not changing as part of this change (i.e. query_id was and will continue to be an opaque string). The value of that string is changing. In most cases, it should not be necessary to update your code.

If I'm reading release notes correctly, this cmd will no longer work and I need to change to use query.slug

As part of this change, query.id itself will return the slug value so this command will continue to work. It should only be necessary to change call sites if the query_id had been hard-coded to a numeric value.

run_query() method doesn't accept string for query_id arg in latest SDK version

It does accept a string: https://github.com/looker-open-source/sdk-codegen/blob…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@wsjk
Comment options

@aschott-looker
Comment options

@wsjk
Comment options

@aschott-looker
Comment options

Answer selected by aschott-looker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants