@utilities.arguments_not_none<EOL><INDENT>def get_assessment_part_ids_by_bank(self, bank_id):<DEDENT>
<EOL>id_list = []<EOL>for assessment_part in self.get_assessment_parts_by_bank(bank_id):<EOL><INDENT>id_list.append(assessment_part.get_id())<EOL><DEDENT>return IdList(id_list)<EOL>
Gets the list of ``AssessmentPartIds`` associated with an ``Bank``.

        arg:    bank_id (osid.id.Id): ``Id`` of the ``Bank``
        return: (osid.id.IdList) - list of related assessment part
                ``Ids``
        raise:  NotFound - ``bank_id`` is not found
        raise:  NullArgument - ``bank_id`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        *compliance: mandatory -- This method must be implemented.*