def _configure_backend(self) -> StorageBackend:
        """Configure storage backend based on environment.

        Returns:
            Configured storage backend

        Raises:
            RuntimeError: If configuration fails
        """
        if settings.ENVIRONMENT == "local":
            return self._configure_local_backend()
        else:
            return self._configure_azure_backend()
Configure storage backend based on environment.

        Returns:
            Configured storage backend

        Raises:
            RuntimeError: If configuration fails
        
backend/airweave/platform/storage/storage_client.py