@property
    def primary(self):
        if self._doc.get('primary'):
            return common.partition_node(self._doc['primary'])
        else:
            return None
Helper function to reverse django.utils.text.compress_string.
dataset/ETHPy150Open mongodb/mongo-python-driver/pymongo/ismaster.py/IsMaster.primary--crossover with--dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/txcommon/db/models.py/uncompress_string