code: def up(self) -> None:
      logging.info(f"Delete jobs of type {self.job_type}")
  
      db = get_db(self.MONGOENGINE_ALIAS)
      result = db[self.COLLECTION_JOBS].delete_many(
          {"type": self.job_type}
      )
      logging.info(f"{result.deleted_count} deleted jobs")
  
imports: import logging
  from collections.abc import Mapping
  from typing import Any, Optional
  from libcommon.queue import JobDocument
  from libcommon.simple_cache import CachedResponseDocument
  from mongoengine.connection import get_db
  from mongodb_migration.check import check_documents
  from mongodb_migration.migration import BaseCacheMigration, BaseQueueMigration, CacheMigration, IrreversibleMigrationError, MetricsMigration, QueueMigration
label_desc: Use image node_id 2 for calling the QueueDeletionMigration obj's underlying member method code with example usage: obj.up() without return types