cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Is the "patch"/update method of the repos API synchronous?

Anonymous
Not applicable

The repos API has a patch method to update a repo in the workspace (to do a git pull).

We would please like to verify: is this method fully synchronous? Is it guaranteed to only return a 200 after the update is complete? Or, would immediately referencing the code after an update cause a race condition?

1 ACCEPTED SOLUTION

Accepted Solutions

Kaniz
Community Manager
Community Manager

Hi @ nate_at_lovelytics, In case of success, the PATCH HTTP method returns the 200 OK response code.

View solution in original post

2 REPLIES 2

Kaniz
Community Manager
Community Manager

Hi @ nate_at_lovelytics! My name is Kaniz, and I'm the technical moderator here. Great to meet you, and thanks for your question! Let's see if your peers in the community have an answer to your question first. Or else I will get back to you soon. Thanks.

Kaniz
Community Manager
Community Manager

Hi @ nate_at_lovelytics, In case of success, the PATCH HTTP method returns the 200 OK response code.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.