def nipsad_annotations(userid):
    query = query_for_users_annotations(userid)
    query["query"]["filtered"]["filter"]["bool"]["must"].append(
        {"term": {"nipsa": True}})
    return query
Return an Elasticsearch query for the user's NIPSA'd annotations.
dataset/ETHPy150Open hypothesis/h/h/nipsa/search.py/nipsad_annotations