async def _get_workspace_info(
        self, client: httpx.AsyncClient, workspace_slug: str
    ) -> BitbucketWorkspaceEntity:
        """Get workspace information.

        Args:
            client: HTTP client
            workspace_slug: Workspace slug

        Returns:
            Workspace entity
        """
        url = f"{self.BASE_URL}/workspaces/{workspace_slug}"
        workspace_data = await self._get_with_auth(client, url)

        return BitbucketWorkspaceEntity(
            entity_id=workspace_data["uuid"],
            source_name="bitbucket",
            slug=workspace_data["slug"],
            name=workspace_data["name"],
            uuid=workspace_data["uuid"],
            is_private=workspace_data.get("is_private", True),
            created_on=datetime.fromisoformat(workspace_data["created_on"].replace("Z", "+00:00"))
            if workspace_data.get("created_on")
            else None,
            url=workspace_data["links"]["html"]["href"],
        )
Get workspace information.

        Args:
            client: HTTP client
            workspace_slug: Workspace slug

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