@classmethod
    def find_by_uris(cls, session, uris):
        query_uris = [uri_normalize(u) for u in uris]

        matching_claims = (
            session.query(DocumentURI)
                   .filter(DocumentURI.uri_normalized.in_(query_uris))
                   .distinct(DocumentURI.document_id)
                   .subquery()
        )

        return session.query(Document).join(matching_claims)
Deletes the comment.
dataset/ETHPy150Open hypothesis/h/h/api/models/document.py/Document.find_by_uris--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/resources/review_diff_comment.py/ReviewDiffCommentResource.delete