(self)
This server's opinion about who the primary is, or None.
This server's opinion about who the primary is, or None.
This server s opinion about who the primary is or None .
def primary(self):
        """This server's opinion about who the primary is, or None."""
        if self._doc.get('primary'):
            return common.partition_node(self._doc['primary'])
        else:
            return None
def primary ( self ) : if self . _doc . get ( 'primary' ) : return common . partition_node ( self . _doc [ 'primary' ] ) else : return None