code: def get_index_names(
      index_information: Mapping[str, Any], field_name: str
  ) -> list[str]:
      return [
          name
          for name, value in index_information.items()
          if isinstance(value, dict)
          and "expireAfterSeconds" in value
          and "key" in value
          and value["key"] == [(field_name, 1)]
      ]
  
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 1 for calling a global function with example usage: get_index_names(index_information, field_name) and returns: unknown