Skip to content
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

Adds job_id as path param in update permission #38962

Merged

Conversation

SubhamSinghal
Copy link
Contributor

job_id needs to be passed as path param in update job permission api.
api link: https://docs.databricks.com/api/workspace/jobs/updatepermissions

Copy link
Member

@pankajkoti pankajkoti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @SubhamSinghal Were we able to test this with the operator in a DAG that this updates the job's permission well now?

@SubhamSinghal
Copy link
Contributor Author

@pankajkoti not till now. I am trying to understand how to test this locally.
I will add try catch in this function so that it will not disrupt original flow

@pankajkoti
Copy link
Member

pankajkoti commented Apr 12, 2024

@pankajkoti not till now. I am trying to understand how to test this locally. I will add try catch in this function so that it will not disrupt original flow

@SubhamSinghal Are you not using Breeze for local development? It makes life a lot easier for developing and testing.

@pankajkoti pankajkoti requested a review from Lee-W April 12, 2024 13:55
@SubhamSinghal
Copy link
Contributor Author

Tested. Code is working fine.

@Lee-W Lee-W self-requested a review April 13, 2024 16:39
@pankajkoti pankajkoti force-pushed the bugfix/add-path-param-to-update-permission branch from 24479b3 to 331dff8 Compare April 14, 2024 06:35
@Lee-W Lee-W merged commit 629545b into apache:main Apr 14, 2024
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants