-
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
fix(python SDKError): Fixed SDKError __str__ #1480
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
dbb2572
into
looker-open-source:python_SDKError_str_fix-internal
We can only test code in local branches, so pulled it into a local branch and created a new PR1486 |
Co-authored-by: syvokobylka <[email protected]>
🤖 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).
Co-authored-by: syvokobylka <[email protected]>
🤖 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).
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 ℹ️
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:
Fixes #1479 🦕