@factory.LazyAttribute
    def document(stub):
        return {
            "eprints": {},
            "title": (stub.document_title or
                      "Example Document {n}".format(n=stub.random_number)),
            "twitter": {},
            "dc": {},
            "prism": {},
            "highwire": {},
            "facebook": {},
            "link": [{"href": stub.uri}]
        }
dataset/ETHPy150Open hypothesis/h/h/test/factories.py/Annotation.document/original