def create_quiz(self, quiz, **kwargs):
from canvasapi.quiz import Quiz<EOL>if isinstance(quiz, dict) and '<STR_LIT:title>' in quiz:<EOL><INDENT>kwargs['<STR_LIT>'] = quiz<EOL><DEDENT>else:<EOL><INDENT>raise RequiredFieldMissing("<STR_LIT>")<EOL><DEDENT>response = self._requester.request(<EOL>'<STR_LIT:POST>',<EOL>'<STR_LIT>'.format(self.id),<EOL>_kwargs=combine_kwargs(**kwargs)<EOL>)<EOL>quiz_json = response.json()<EOL>quiz_json.update({'<STR_LIT>': self.id})<EOL>return Quiz(self._requester, quiz_json)<EOL>
Create a new quiz in this course.

:calls: `POST /api/v1/courses/:course_id/quizzes \
<https://canvas.instructure.com/doc/api/quizzes.html#method.quizzes/quizzes_api.create>`_

:param quiz: The attributes for the quiz.
:type quiz: dict
:rtype: :class:`canvasapi.quiz.Quiz`