@utilities.arguments_not_none<EOL><INDENT>def get_assessment_part_form_for_update(self, assessment_part_id):<DEDENT>
collection = JSONClientValidated('<STR_LIT>',<EOL>collection='<STR_LIT>',<EOL>runtime=self._runtime)<EOL>if not isinstance(assessment_part_id, ABCId):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>if (assessment_part_id.get_identifier_namespace() != '<STR_LIT>' or<EOL>assessment_part_id.get_authority() != self._authority):<EOL><INDENT>raise errors.InvalidArgument()<EOL><DEDENT>result = collection.find_one({'<STR_LIT>': ObjectId(assessment_part_id.get_identifier())})<EOL>mdata = {}<EOL>if not result['<STR_LIT>']:<EOL><INDENT>pass<EOL><DEDENT>else:<EOL><INDENT>parent_part_id = Id(result['<STR_LIT>'])<EOL>mgr = self._get_provider_manager('<STR_LIT>', local=True)<EOL>lookup_session = mgr.get_assessment_part_lookup_session_for_bank(self._catalog_id, proxy=self._proxy)<EOL>if lookup_session.get_assessment_parts_for_assessment_part(parent_part_id).available() > <NUM_LIT:1>:<EOL><INDENT>mdata['<STR_LIT>']['<STR_LIT>'] = True<EOL>mdata['<STR_LIT>']['<STR_LIT>'] = True<EOL><DEDENT><DEDENT>obj_form = objects.AssessmentPartForm(osid_object_map=result,<EOL>runtime=self._runtime,<EOL>proxy=self._proxy,<EOL>mdata=mdata)<EOL>self._forms[obj_form.get_id().get_identifier()] = not UPDATED<EOL>return obj_form<EOL>
Gets the assessment part form for updating an existing assessment part.

        A new assessment part form should be requested for each update
        transaction.

        arg:    assessment_part_id (osid.id.Id): the ``Id`` of the
                ``AssessmentPart``
        return: (osid.assessment.authoring.AssessmentPartForm) - the
                assessment part form
        raise:  NotFound - ``assessment_part_id`` is not found
        raise:  NullArgument - ``assessment_part_id`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure occurred
        *compliance: mandatory -- This method must be implemented.*