

def _get_non_design_docs(db):
    docs = get_docs(db, [result['id'] for result in db if (not result['id'].startswith('_design/'))], attachments=True)
    _sort_by_doc_id(docs)
    return docs

dataset/ETHPy150Open dimagi/commcare-hq/corehq/doctypemigrations/tests.py _get_non_design_docs/original