publish_description as abstract method

This commit is contained in:
mrT23
2023-07-13 18:04:28 +03:00
parent 0f73f5f906
commit 4b4fda37a6
2 changed files with 8 additions and 0 deletions

View File

@ -16,6 +16,10 @@ class GitProvider(ABC):
def get_diff_files(self) -> list[FilePatchInfo]:
pass
@abstractmethod
def publish_description(self, pr_title: str, pr_body: str):
pass
@abstractmethod
def publish_comment(self, pr_comment: str, is_temporary: bool = False):
pass