def to_coord(self):
        return Coordinate(self.dims, self._data, self._attrs,
                          encoding=self._encoding, fastpath=True)
Don't send session-change events if the event user is not the socket user.
dataset/ETHPy150Open pydata/xarray/xarray/core/variable.py/Variable.to_coord--crossover with--dataset/ETHPy150Open hypothesis/h/h/streamer/test/messages_test.py/TestHandleUserEvent.test_none_when_socket_is_not_event_users