Move the new git provider function to the abstract interface

This commit is contained in:
Ori Kotek
2023-07-18 12:26:49 +03:00
parent 7d108992fc
commit 13092118dc
5 changed files with 23 additions and 4 deletions

View File

@ -41,6 +41,14 @@ class GitProvider(ABC):
def publish_inline_comment(self, body: str, relevant_file: str, relevant_line_in_file: str):
pass
@abstractmethod
def create_inline_comment(self, body: str, relevant_file: str, relevant_line_in_file: str):
pass
@abstractmethod
def publish_inline_comments(self, comments: list[dict]):
pass
@abstractmethod
def publish_code_suggestion(self, body: str, relevant_file: str,
relevant_lines_start: int, relevant_lines_end: int):