Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TunahanGuler committed Jan 21, 2025
1 parent 8630a32 commit aab56ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/collector/src/source_collectors/bitbucket/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
class BitbucketBase(SourceCollector, ABC):
"""Base class for Bitbucket collectors."""

def _basic_auth_credentials(self) -> tuple[str, str] | None:
"""Override to return None, as the private token is passed as header."""
return None

def _headers(self) -> dict[str, str]:
"""Extend to add the private token, if any, to the headers."""
headers = super()._headers()
Expand Down

0 comments on commit aab56ad

Please sign in to comment.