async def get_all_by_short_name(self, db: AsyncSession, short_name: str) -> list[Connection]:
        """Get all connections for a specific source by short_name.

        This method is only available when LOCAL_CURSOR_DEVELOPMENT is enabled.

        Args:
        -----
            db: The database session
            short_name: The short name of the source/destination/etc.

        Returns:
        --------
            list[Connection]: List of connections with the given short name
        """
        from airweave.core.config import settings

        if not settings.LOCAL_CURSOR_DEVELOPMENT:
            raise ValueError(
                "This method is only available when LOCAL_CURSOR_DEVELOPMENT is enabled"
            )

        stmt = (
            select(Connection)
            .options(selectinload(Connection.integration_credential))
            .where(
                Connection.short_name == short_name,
            )
        )
        result = await db.execute(stmt)
        return list(result.scalars().all())
Get all connections for a specific source by short_name.

        This method is only available when LOCAL_CURSOR_DEVELOPMENT is enabled.

        Args:
        -----
            db: The database session
            short_name: The short name of the source/destination/etc.

        Returns:
        --------
            list[Connection]: List of connections with the given short name
        
backend/airweave/crud/crud_connection.py