SDK updates for breaking change on query id #1514
-
According to release notes for Looker 24.18 we need to use slug for I don't see any updates in Python SDK to handle this. Right now we have code that gets query strings like this:
If I'm reading release notes correctly, this cmd will no longer work and I need to change to use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The API spec is not changing as part of this change (i.e.
As part of this change,
It does accept a string: https://github.com/looker-open-source/sdk-codegen/blob/main/python/looker_sdk/sdk/api40/methods.py#L9153 |
Beta Was this translation helpful? Give feedback.
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.As part of this change,
query.id
itself will return theslug
value so this command will continue to work. It should only be necessary to change call sites if thequery_id
had been hard-coded to a numeric value.It does accept a string: https://github.com/looker-open-source/sdk-codegen/blob…