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:
Eyal Sharon
2025-03-24 14:06:06 +02:00
parent a4387b5829
commit fb324d106c
5 changed files with 3 additions and 14 deletions

View File

@ -495,6 +495,3 @@ class CodeCommitProvider(GitProvider):
lang: round(count / total_files * 100) for lang, count in lang_count.items()
}
return lang_percentage
def _prepare_clone_url_with_token(self, repo_url_to_clone: str) -> str | None:
raise Exception("Not implemented!")