async def enrich_sync_with_connections(
        self, db: AsyncSession, sync: models.Sync
    ) -> schemas.Sync:
        """Enrich a sync with all its connections.

        Args:
            db (AsyncSession): The database session
            sync (models.Sync): The sync

        Returns:
            schemas.Sync: The sync with its connections
        """
        # Simply use the enricher_for_all method with a single sync
        enriched_syncs = await self.enricher_for_all(db, [sync])

        # Return the first (and only) result
        return enriched_syncs[0] if enriched_syncs else None
Enrich a sync with all its connections.

        Args:
            db (AsyncSession): The database session
            sync (models.Sync): The sync

        Returns:
            schemas.Sync: The sync with its connections
        
backend/airweave/crud/crud_sync.py