MCPcopy Create free account
hub / github.com/ezyang/ghstack / patch

Method patch

src/ghstack/github.py:77–83  ·  view source on GitHub ↗

Send a PATCH request to endpoint 'path'. Returns: parsed JSON response

(self, path: str, **kwargs: Any)

Source from the content-addressed store, hash-verified

75 return self.rest("post", path, **kwargs)
76
77 def patch(self, path: str, **kwargs: Any) -> Any:
78 """
79 Send a PATCH request to endpoint 'path'.
80
81 Returns: parsed JSON response
82 """
83 return self.rest("patch", path, **kwargs)
84
85 @abstractmethod
86 def rest(self, method: str, path: str, **kwargs: Any) -> Any:

Callers 1

push_updatesMethod · 0.80

Calls 1

restMethod · 0.95

Tested by

no test coverage detected