def create_secret_link(request, message=None, expires_at=None):
pid, record = get_record(request.recid)<EOL>if not record:<EOL><INDENT>raise RecordNotFound(request.recid)<EOL><DEDENT>description = render_template(<EOL>"<STR_LIT>",<EOL>request=request,<EOL>record=record,<EOL>pid=pid,<EOL>expires_at=expires_at,<EOL>message=message,<EOL>)<EOL>request.create_secret_link(<EOL>record["<STR_LIT:title>"],<EOL>description=description,<EOL>expires_at=expires_at<EOL>)<EOL>
Receiver for request-accepted signal.