def broadcast(self, obj: TBroadcast, src: int = 0) -> TBroadcast:
        """Broadcasts an object to all processes.

        Args:
            obj: the object to broadcast
            src: source rank

        """
Broadcasts an object to all processes.

        Args:
            obj: the object to broadcast
            src: source rank

        
src/lightning/fabric/strategies/strategy.py