(self)
return doc
The document representation of this read concern.

        .. note::
          :class:`ReadConcern` is immutable. Mutating the value of
          :attr:`document` does not mutate this :class:`ReadConcern`.
The document representation of this read concern.
The document representation of this read concern .
def document(self):
        """The document representation of this read concern.

        .. note::
          :class:`ReadConcern` is immutable. Mutating the value of
          :attr:`document` does not mutate this :class:`ReadConcern`.
        """
        doc = {}
        if self.__level:
            doc['level'] = self.level
        return doc
def document ( self ) : doc = { } if self . __level : doc [ 'level' ] = self . level return doc