def conn_kwargs(self, value: Dict[str, Any]) -> None:
        """Set new connection parameters.

        :param value: :class:`dict` object with connection parameters.
        """
        with self._lock:
            self._conn_kwargs = value
Set new connection parameters.

        :param value: :class:`dict` object with connection parameters.
        
patroni/postgresql/connection.py