code: def get_example_info_json_filename(
      examples_filename: str, task_id: Optional[int]
  ) -> str:
      """Returns corresponding example_info.json filename for examples_filename."""
      if sharded_file_utils.is_sharded_file_spec(examples_filename):
          assert task_id is not None
          # If examples_filename has the @shards representation, resolve it into
          # the first shard. We only write .example_info.json to the first shard.
          example_info_prefix = sharded_file_utils.sharded_filename(
              examples_filename, task_id
          )
      else:
          # In all other cases, including non-sharded files,
          # or sharded filenames with -ddddd-of-ddddd, just append.
          example_info_prefix = examples_filename
      return example_info_prefix + ".example_info.json"
  
imports: import json
  from typing import Optional
  from absl import logging
  import numpy
  import tensorflow
  from deepvariant.protos import deepvariant_pb2
  from third_party.nucleus.io import sharded_file_utils
  from third_party.nucleus.io import tfrecord
  from third_party.nucleus.protos import variants_pb2
  from tensorflow.core.example import example_pb2
label_desc: Use image node_id 25 for calling a global function with example usage: get_example_info_json_filename(examples_filename, task_id) and returns: unknown