def get_assignment(self, assignment, **kwargs):
from canvasapi.assignment import Assignment<EOL>assignment_id = obj_or_id(assignment, "<STR_LIT>", (Assignment,))<EOL>response = self._requester.request(<EOL>'<STR_LIT:GET>',<EOL>'<STR_LIT>'.format(self.id, assignment_id),<EOL>_kwargs=combine_kwargs(**kwargs)<EOL>)<EOL>return Assignment(self._requester, response.json())<EOL>
Return the assignment with the given ID.

:calls: `GET /api/v1/courses/:course_id/assignments/:id \
<https://canvas.instructure.com/doc/api/assignments.html#method.assignments_api.show>`_

:param assignment: The object or ID of the assignment to retrieve.
:type assignment: :class:`canvasapi.assignment.Assignment` or int

:rtype: :class:`canvasapi.assignment.Assignment`