def get_module_item(self, module_item, **kwargs):
module_item_id = obj_or_id(module_item, "<STR_LIT>", (ModuleItem,))<EOL>response = self._requester.request(<EOL>'<STR_LIT:GET>',<EOL>'<STR_LIT>'.format(self.course_id, self.id, module_item_id),<EOL>_kwargs=combine_kwargs(**kwargs)<EOL>)<EOL>module_item_json = response.json()<EOL>module_item_json.update({'<STR_LIT>': self.course_id})<EOL>return ModuleItem(self._requester, module_item_json)<EOL>
Retrieve a module item by ID.

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

:param module_item: The object or ID of the module item.
:type module_item: :class:`canvasapi.module.ModuleItem` or dict

:rtype: :class:`canvasapi.module.ModuleItem`