Skip to content

Commit ff25f10

Browse files
committed
Add the sync method on BaseIntegration #345
Signed-off-by: tdruez <[email protected]>
1 parent a1a7fa6 commit ff25f10

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

workflow/integrations/base.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,12 @@ def patch(self, url, json=None):
9494
"""Send a PATCH request."""
9595
return self.request("PATCH", url, json=json)
9696

97+
def sync(self, request):
98+
"""Sync the given request by creating or updating an external issue."""
99+
raise NotImplementedError
100+
97101
def post_comment(self, repo_id, issue_id, comment_body, base_url=None):
102+
"""Post a comment on an external issue."""
98103
raise NotImplementedError
99104

100105
def get_status(self, request):

0 commit comments

Comments
 (0)