-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(python SDKError): Fixed SDKError __str__ (#1480) #1486
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fix for the issue: attempt to represent python SDKError object as a string leads to TypeError exception ahppening, since python join() doesn't convert ErrorDetail object to string automatically. ## Developer Checklist [ℹ️](https://github.com/looker-open-source/sdk-codegen/blob/main/CONTRIBUTING.md#developer-checklist) Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [x] Make sure to open an issue as a [bug/issue](https://github.com/looker-open-source/sdk-codegen/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Appropriate docs were updated (if necessary) Fixes #1479 🦕
jkaster
approved these changes
Jul 29, 2024
Merged
drstrangelooker
pushed a commit
that referenced
this pull request
Jul 29, 2024
🤖 I have created a release *beep* *boop* --- <details><summary>@looker/api-explorer: 0.9.63</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-utils bumped from 0.1.39 to 0.1.40 * @looker/run-it bumped from 0.9.62 to 0.9.63 * @looker/sdk bumped from 24.12.0 to 24.12.1 * devDependencies * @looker/sdk-codegen-scripts bumped from 21.5.19 to 21.5.20 * @looker/sdk-node bumped from 24.12.0 to 24.12.1 </details> <details><summary>@looker/extension-api-explorer: 22.21.20</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/api-explorer bumped from 0.9.62 to 0.9.63 * @looker/extension-sdk bumped from 24.12.0 to 24.12.1 * @looker/extension-sdk-react bumped from 24.12.0 to 24.12.1 * @looker/extension-utils bumped from 0.1.39 to 0.1.40 * @looker/run-it bumped from 0.9.62 to 0.9.63 * @looker/sdk bumped from 24.12.0 to 24.12.1 </details> <details><summary>@looker/extension-playground: 1.0.20</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-sdk bumped from 24.12.0 to 24.12.1 * @looker/extension-sdk-react bumped from 24.12.0 to 24.12.1 * @looker/sdk bumped from 24.12.0 to 24.12.1 </details> <details><summary>@looker/extension-tile-playground: 1.1.7</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-sdk bumped from 24.12.0 to 24.12.1 * @looker/extension-sdk-react bumped from 24.12.0 to 24.12.1 * @looker/sdk bumped from 24.12.0 to 24.12.1 </details> <details><summary>@looker/extension-utils: 0.1.40</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-sdk bumped from 24.12.0 to 24.12.1 * @looker/extension-sdk-react bumped from 24.12.0 to 24.12.1 * @looker/sdk bumped from 24.12.0 to 24.12.1 </details> <details><summary>@looker/hackathon: 22.21.22</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-sdk bumped from 24.12.0 to 24.12.1 * @looker/extension-sdk-react bumped from 24.12.0 to 24.12.1 * @looker/extension-utils bumped from 0.1.39 to 0.1.40 * @looker/sdk bumped from 24.12.0 to 24.12.1 * @looker/wholly-artifact bumped from 0.1.20 to 0.1.21 </details> <details><summary>@looker/run-it: 0.9.63</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-utils bumped from 0.1.39 to 0.1.40 * @looker/sdk bumped from 24.12.0 to 24.12.1 </details> <details><summary>@looker/sdk-codegen-scripts: 21.5.20</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk bumped from 24.12.0 to 24.12.1 * @looker/sdk-node bumped from 24.12.0 to 24.12.1 </details> <details><summary>@looker/wholly-artifact: 0.1.21</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk bumped from 24.12.0 to 24.12.1 * devDependencies * @looker/sdk-node bumped from 24.12.0 to 24.12.1 </details> <details><summary>@looker/wholly-sheet: 0.5.59</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk bumped from 24.12.0 to 24.12.1 * devDependencies * @looker/sdk-node bumped from 24.12.0 to 24.12.1 </details> <details><summary>sdk-codegen-all: 24.12.1</summary> ## [24.12.1](sdk-codegen-all-v24.12.0...sdk-codegen-all-v24.12.1) (2024-07-29) ### Bug Fixes * **python SDKError:** Fixed SDKError __str__ ([#1480](#1480)) ([#1486](#1486)) ([d8907fe](d8907fe)) </details> <details><summary>looker_sdk: 24.12.1</summary> ## [24.12.1](looker_sdk-v24.12.0...looker_sdk-v24.12.1) (2024-07-29) ### Bug Fixes * **python SDKError:** Fixed SDKError __str__ ([#1480](#1480)) ([#1486](#1486)) ([d8907fe](d8907fe)) </details> <details><summary>embed-components: 24.12.1</summary> ## [24.12.1](embed-components-v24.12.0...embed-components-v24.12.1) (2024-07-29) ### Miscellaneous Chores * **embed-components:** Synchronize undefined versions ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/embed-services bumped from 24.12.0 to 24.12.1 * @looker/sdk bumped from 24.12.0 to 24.12.1 * devDependencies * @looker/sdk-node bumped from 24.12.0 to 24.12.1 </details> <details><summary>embed-services: 24.12.1</summary> ## [24.12.1](embed-services-v24.12.0...embed-services-v24.12.1) (2024-07-29) ### Miscellaneous Chores * **embed-services:** Synchronize undefined versions ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk bumped from 24.12.0 to 24.12.1 * devDependencies * @looker/sdk-node bumped from 24.12.0 to 24.12.1 </details> <details><summary>extension-sdk: 24.12.1</summary> ## [24.12.1](extension-sdk-v24.12.0...extension-sdk-v24.12.1) (2024-07-29) ### Miscellaneous Chores * **extension-sdk:** Synchronize undefined versions ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk bumped from 24.12.0 to 24.12.1 </details> <details><summary>extension-sdk-react: 24.12.1</summary> ## [24.12.1](extension-sdk-react-v24.12.0...extension-sdk-react-v24.12.1) (2024-07-29) ### Miscellaneous Chores * **extension-sdk-react:** Synchronize undefined versions ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-sdk bumped from 24.12.0 to 24.12.1 * @looker/sdk bumped from 24.12.0 to 24.12.1 </details> <details><summary>sdk: 24.12.1</summary> ## [24.12.1](sdk-v24.12.0...sdk-v24.12.1) (2024-07-29) ### Miscellaneous Chores * **sdk:** Synchronize undefined versions </details> <details><summary>sdk-node: 24.12.1</summary> ## [24.12.1](sdk-node-v24.12.0...sdk-node-v24.12.1) (2024-07-29) ### Miscellaneous Chores * **sdk-node:** Synchronize undefined versions ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk bumped from 24.12.0 to 24.12.1 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
JCPistell
pushed a commit
that referenced
this pull request
Aug 29, 2024
Co-authored-by: syvokobylka <[email protected]>
JCPistell
pushed a commit
that referenced
this pull request
Aug 29, 2024
🤖 I have created a release *beep* *boop* --- <details><summary>@looker/api-explorer: 0.9.63</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-utils bumped from 0.1.39 to 0.1.40 * @looker/run-it bumped from 0.9.62 to 0.9.63 * @looker/sdk bumped from 24.12.0 to 24.12.1 * devDependencies * @looker/sdk-codegen-scripts bumped from 21.5.19 to 21.5.20 * @looker/sdk-node bumped from 24.12.0 to 24.12.1 </details> <details><summary>@looker/extension-api-explorer: 22.21.20</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/api-explorer bumped from 0.9.62 to 0.9.63 * @looker/extension-sdk bumped from 24.12.0 to 24.12.1 * @looker/extension-sdk-react bumped from 24.12.0 to 24.12.1 * @looker/extension-utils bumped from 0.1.39 to 0.1.40 * @looker/run-it bumped from 0.9.62 to 0.9.63 * @looker/sdk bumped from 24.12.0 to 24.12.1 </details> <details><summary>@looker/extension-playground: 1.0.20</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-sdk bumped from 24.12.0 to 24.12.1 * @looker/extension-sdk-react bumped from 24.12.0 to 24.12.1 * @looker/sdk bumped from 24.12.0 to 24.12.1 </details> <details><summary>@looker/extension-tile-playground: 1.1.7</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-sdk bumped from 24.12.0 to 24.12.1 * @looker/extension-sdk-react bumped from 24.12.0 to 24.12.1 * @looker/sdk bumped from 24.12.0 to 24.12.1 </details> <details><summary>@looker/extension-utils: 0.1.40</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-sdk bumped from 24.12.0 to 24.12.1 * @looker/extension-sdk-react bumped from 24.12.0 to 24.12.1 * @looker/sdk bumped from 24.12.0 to 24.12.1 </details> <details><summary>@looker/hackathon: 22.21.22</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-sdk bumped from 24.12.0 to 24.12.1 * @looker/extension-sdk-react bumped from 24.12.0 to 24.12.1 * @looker/extension-utils bumped from 0.1.39 to 0.1.40 * @looker/sdk bumped from 24.12.0 to 24.12.1 * @looker/wholly-artifact bumped from 0.1.20 to 0.1.21 </details> <details><summary>@looker/run-it: 0.9.63</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-utils bumped from 0.1.39 to 0.1.40 * @looker/sdk bumped from 24.12.0 to 24.12.1 </details> <details><summary>@looker/sdk-codegen-scripts: 21.5.20</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk bumped from 24.12.0 to 24.12.1 * @looker/sdk-node bumped from 24.12.0 to 24.12.1 </details> <details><summary>@looker/wholly-artifact: 0.1.21</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk bumped from 24.12.0 to 24.12.1 * devDependencies * @looker/sdk-node bumped from 24.12.0 to 24.12.1 </details> <details><summary>@looker/wholly-sheet: 0.5.59</summary> ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk bumped from 24.12.0 to 24.12.1 * devDependencies * @looker/sdk-node bumped from 24.12.0 to 24.12.1 </details> <details><summary>sdk-codegen-all: 24.12.1</summary> ## [24.12.1](sdk-codegen-all-v24.12.0...sdk-codegen-all-v24.12.1) (2024-07-29) ### Bug Fixes * **python SDKError:** Fixed SDKError __str__ ([#1480](#1480)) ([#1486](#1486)) ([d8907fe](d8907fe)) </details> <details><summary>looker_sdk: 24.12.1</summary> ## [24.12.1](looker_sdk-v24.12.0...looker_sdk-v24.12.1) (2024-07-29) ### Bug Fixes * **python SDKError:** Fixed SDKError __str__ ([#1480](#1480)) ([#1486](#1486)) ([d8907fe](d8907fe)) </details> <details><summary>embed-components: 24.12.1</summary> ## [24.12.1](embed-components-v24.12.0...embed-components-v24.12.1) (2024-07-29) ### Miscellaneous Chores * **embed-components:** Synchronize undefined versions ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/embed-services bumped from 24.12.0 to 24.12.1 * @looker/sdk bumped from 24.12.0 to 24.12.1 * devDependencies * @looker/sdk-node bumped from 24.12.0 to 24.12.1 </details> <details><summary>embed-services: 24.12.1</summary> ## [24.12.1](embed-services-v24.12.0...embed-services-v24.12.1) (2024-07-29) ### Miscellaneous Chores * **embed-services:** Synchronize undefined versions ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk bumped from 24.12.0 to 24.12.1 * devDependencies * @looker/sdk-node bumped from 24.12.0 to 24.12.1 </details> <details><summary>extension-sdk: 24.12.1</summary> ## [24.12.1](extension-sdk-v24.12.0...extension-sdk-v24.12.1) (2024-07-29) ### Miscellaneous Chores * **extension-sdk:** Synchronize undefined versions ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk bumped from 24.12.0 to 24.12.1 </details> <details><summary>extension-sdk-react: 24.12.1</summary> ## [24.12.1](extension-sdk-react-v24.12.0...extension-sdk-react-v24.12.1) (2024-07-29) ### Miscellaneous Chores * **extension-sdk-react:** Synchronize undefined versions ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/extension-sdk bumped from 24.12.0 to 24.12.1 * @looker/sdk bumped from 24.12.0 to 24.12.1 </details> <details><summary>sdk: 24.12.1</summary> ## [24.12.1](sdk-v24.12.0...sdk-v24.12.1) (2024-07-29) ### Miscellaneous Chores * **sdk:** Synchronize undefined versions </details> <details><summary>sdk-node: 24.12.1</summary> ## [24.12.1](sdk-node-v24.12.0...sdk-node-v24.12.1) (2024-07-29) ### Miscellaneous Chores * **sdk-node:** Synchronize undefined versions ### Dependencies * The following workspace dependencies were updated * dependencies * @looker/sdk bumped from 24.12.0 to 24.12.1 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.