def _doc_resource(base, doc_id):
    # Split an id that starts with a reserved segment, e.g. _design/foo, so
    # that the / that follows the 1st segment does not get escaped.
    if doc_id[:1] == '_':
        return base(*doc_id.split('/', 1))
    return base(doc_id)
Return the resource for the given document id.
dataset/ETHPy150Open djc/couchdb-python/couchdb/client.py/_doc_resource