Remove redundant abstractmethod for _prepare_clone_url_with_token

This commit is contained in:
Eyal Sharon
2025-03-24 15:56:45 +02:00
parent 5bc253e1d9
commit b161672218

View File

@ -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")