mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 12:50:38 +08:00
Remove redundant abstractmethod for _prepare_clone_url_with_token
This commit is contained in:
@ -45,7 +45,6 @@ class GitProvider(ABC):
|
|||||||
if self.path and os.path.exists(self.path):
|
if self.path and os.path.exists(self.path):
|
||||||
shutil.rmtree(self.path, ignore_errors=True)
|
shutil.rmtree(self.path, ignore_errors=True)
|
||||||
|
|
||||||
@abstractmethod
|
|
||||||
#Method to allow implementors to manipulate the repo url to clone (such as embedding tokens in the url string). Needs to be implemented by the provider.
|
#Method to allow implementors to manipulate the repo url to clone (such as embedding tokens in the url string). Needs to be implemented by the provider.
|
||||||
def _prepare_clone_url_with_token(self, repo_url_to_clone: str) -> str | None:
|
def _prepare_clone_url_with_token(self, repo_url_to_clone: str) -> str | None:
|
||||||
get_logger().warning("Not implemented! Returning None")
|
get_logger().warning("Not implemented! Returning None")
|
||||||
|
Reference in New Issue
Block a user