@property
    def rev(self):
        if hasattr(self._data, 'rev'): # When data is client.Document
            return self._data.rev
        return self._data.get('_rev')
split a scope into names
dataset/ETHPy150Open djc/couchdb-python/couchdb/mapping.py/Document.rev--crossover with--dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/utils.py/scope_split