mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-10 15:50:37 +08:00
Remove non implemented method _prepare_clone_url_with_token from providers which don't support it and instead, issue a warning in base class.
This commit is contained in:
@ -623,6 +623,3 @@ class AzureDevopsProvider(GitProvider):
|
||||
|
||||
def get_line_link(self, relevant_file: str, relevant_line_start: int, relevant_line_end: int = None) -> str:
|
||||
return self.pr_url+f"?_a=files&path={relevant_file}"
|
||||
|
||||
def _prepare_clone_url_with_token(self, repo_url_to_clone: str) -> str | None:
|
||||
raise Exception("Not implemented!")
|
||||
|
Reference in New Issue
Block a user