code: def operation_recorder(self):
          
          warnings.warn(
              "Reading the WBEMConnection.operation_recorder property has been "
              "deprecated. Use the operation_recorders property instead.",
              DeprecationWarning, 2)
          try:
              last_recorder = self._operation_recorders[-1]
          except IndexError:
              last_recorder = None
          return last_recorder
docs: :class:`BaseOperationRecorder`: **Deprecated:** The operation recorder
          that was last added to the connection, or `None` if the connection does
          not currently have any recorders.
  
          *New in pywbem 0.9 as experimental. Deprecated since pywbem 0.12.*
  
          Instead of using this deprecated property, the
          :attr:`~pywbem.WBEMConnection.operation_recorders` property should be
          used to retrieve the recorders of the connection, and the
          :meth:`~pywbem.WBEMConnection.add_operation_recorder` method should be
          used to add a recorder.
  
          This property is settable; setting this property will cause the
          specified operation recorder to be added to the connection as if
          :meth:`~pywbem.WBEMConnection.add_operation_recorder` was used.
          `None` is not permitted as a new value for this property.
  
          Raises:
  
            ValueError: Operation recorder must not be `None`.
            ValueError: Cannot add the same recorder class multiple times.