async def _get_repository_info(
        self, client: httpx.AsyncClient, workspace_slug: str, repo_slug: str
    ) -> BitbucketRepositoryEntity:
        """Get repository information.

        Args:
            client: HTTP client
            workspace_slug: Workspace slug
            repo_slug: Repository slug

        Returns:
            Repository entity
        """
        url = f"{self.BASE_URL}/repositories/{workspace_slug}/{repo_slug}"
        repo_data = await self._get_with_auth(client, url)

        return BitbucketRepositoryEntity(
            entity_id=repo_data["uuid"],
            source_name="bitbucket",
            name=repo_data["name"],
            slug=repo_data["slug"],
            full_name=repo_data["full_name"],
            description=repo_data.get("description"),
            is_private=repo_data.get("is_private", True),
            fork_policy=repo_data.get("fork_policy"),
            language=repo_data.get("language"),
            created_on=datetime.fromisoformat(repo_data["created_on"].replace("Z", "+00:00")),
            updated_on=datetime.fromisoformat(repo_data["updated_on"].replace("Z", "+00:00")),
            size=repo_data.get("size"),
            mainbranch=repo_data.get("mainbranch", {}).get("name")
            if repo_data.get("mainbranch")
            else None,
            workspace_slug=workspace_slug,
            url=repo_data["links"]["html"]["href"],
        )
Get repository information.

        Args:
            client: HTTP client
            workspace_slug: Workspace slug
            repo_slug: Repository slug

        Returns:
            Repository entity
        
backend/airweave/platform/sources/bitbucket.py