Skip to content

(bugfix) Catalog GrantAPI: securable_type enum value#161

Closed
clementboscoa wants to merge 1 commit intodatabricks:mainfrom
clementboscoa:bugfix/catalog-grantapi
Closed

(bugfix) Catalog GrantAPI: securable_type enum value#161
clementboscoa wants to merge 1 commit intodatabricks:mainfrom
clementboscoa:bugfix/catalog-grantapi

Conversation

@clementboscoa
Copy link
Copy Markdown

Changes

Change the render value of securable_type attribute to have the real Enum value and not the repr value.
This will render the API URI call as the following : PATCH /api/2.1/unity-catalog/permissions/CATALOG/<catalog_id>
instead of /api/2.1/unity-catalog/permissions/SecurableType.CATALOG/<catalog_id>

Tests

Tested locally

  • make test run locally
  • make fmt applied
  • relevant integration tests applied

Change the render value of securable_type attribute to have the real value and not the repr value.

Signed-off-by: Clément Bosc /\\: (L'Oréal) <[email protected]>
@clementboscoa clementboscoa force-pushed the bugfix/catalog-grantapi branch from e589475 to c4d88ba Compare June 9, 2023 13:28
@nfx
Copy link
Copy Markdown
Contributor

nfx commented Jun 9, 2023

@clementboscoa unfortunately we can't accept a PR to a generated file, as it'll be overwritten. we'll fix it in one of the next releases

@nfx nfx added do-not-merge codegen issues related to generated code labels Jun 14, 2023
nfx added a commit that referenced this pull request Jun 15, 2023
@nfx
Copy link
Copy Markdown
Contributor

nfx commented Jun 15, 2023

correctly implemented in #179

@nfx nfx closed this Jun 15, 2023
nfx added a commit that referenced this pull request Jun 15, 2023
joyaung pushed a commit to joyaung/databricks-sdk-py that referenced this pull request Apr 6, 2025
…feature/SFE-3163_Rebuild_Main_Dashboard_v2

New dashboard queries, warning notes and naming.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codegen issues related to generated code do-not-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants