@utilities.arguments_not_none<EOL><INDENT>def get_assessment_taken_form_for_create(self, assessment_offered_id, assessment_taken_record_types):<DEDENT>
if not isinstance(assessment_offered_id, ABCId):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>for arg in assessment_taken_record_types:<EOL><INDENT>if not isinstance(arg, ABCType):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT><DEDENT>am = self._get_provider_manager('<STR_LIT>')<EOL>aols = am.get_assessment_offered_lookup_session(proxy=self._proxy)<EOL>aols.use_federated_bank_view()<EOL>offered = aols.get_assessment_offered(assessment_offered_id)<EOL>try:<EOL><INDENT>deadline = offered.get_deadline()<EOL>nowutc = DateTime.utcnow()<EOL>if nowutc > deadline:<EOL><INDENT>raise errors.PermissionDenied('<STR_LIT>')<EOL><DEDENT><DEDENT>except errors.IllegalState:<EOL><INDENT>pass<EOL><DEDENT>if assessment_taken_record_types == []:<EOL><INDENT>obj_form = objects.AssessmentTakenForm(<EOL>bank_id=self._catalog_id,<EOL>assessment_offered_id=assessment_offered_id,<EOL>catalog_id=self._catalog_id,<EOL>runtime=self._runtime,<EOL>proxy=self._proxy)<EOL><DEDENT>else:<EOL><INDENT>obj_form = objects.AssessmentTakenForm(<EOL>bank_id=self._catalog_id,<EOL>record_types=assessment_taken_record_types,<EOL>assessment_offered_id=assessment_offered_id,<EOL>catalog_id=self._catalog_id,<EOL>runtime=self._runtime,<EOL>proxy=self._proxy)<EOL><DEDENT>obj_form._for_update = False<EOL>self._forms[obj_form.get_id().get_identifier()] = not CREATED<EOL>return obj_form<EOL>
Gets the assessment taken form for creating new assessments taken.

        A new form should be requested for each create transaction.

        arg:    assessment_offered_id (osid.id.Id): the ``Id`` of the
                related ``AssessmentOffered``
        arg:    assessment_taken_record_types (osid.type.Type[]): array
                of assessment taken record types to be included in the
                create operation or an empty list if none
        return: (osid.assessment.AssessmentTakenForm) - the assessment
                taken form
        raise:  NotFound - ``assessment_offered_id`` is not found
        raise:  NullArgument - ``assessment_offered_id`` or
                ``assessment_taken_record_types`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure occurred
        raise:  Unsupported - unable to get form for requested record
                types
        *compliance: mandatory -- This method must be implemented.*