def mark_submission_as_read(self, assignment, user, **kwargs):
from canvasapi.assignment import Assignment<EOL>from canvasapi.user import User<EOL>warnings.warn(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>',<EOL>DeprecationWarning<EOL>)<EOL>assignment_id = obj_or_id(assignment, "<STR_LIT>", (Assignment,))<EOL>user_id = obj_or_id(user, "<STR_LIT:user>", (User,))<EOL>submission = Submission(self._requester, {<EOL>'<STR_LIT>': self.course_id,<EOL>'<STR_LIT>': assignment_id,<EOL>'<STR_LIT>': user_id<EOL>})<EOL>return submission.mark_read(**kwargs)<EOL>
Mark submission as read. No request fields are necessary.

.. warning::
    .. deprecated:: 0.9.0
        Use :func:`canvasapi.submission.Submission.mark_read` instead.

:calls: `PUT
    /api/v1/sections/:section_id/assignments/:assignment_id/submissions/:user_id/read \
    <https://canvas.instructure.com/doc/api/submissions.html#method.submissions_api.mark_submission_read>`_

:param assignment: The object or ID of the assignment.
:type assignment: :class:`canvasapi.assignment.Assignment` or int
:param user: The object or ID of the user.
:type user: :class:`canvasapi.user.User` or int or str

:rtype: `bool`