code: def input_creator(ioctx: IOContext) -> InputReader:
      """
      The input creator method can be used in the input registry or set as the
      config["input"] parameter.
  
      Args:
          ioctx: use this to access the `input_config` arguments.
  
      Returns:
          instance of ShuffledInput to work with some offline rl algorithms
      """
      return ShuffledInput(CustomJsonReader(ioctx))
  
file_path: ray/python/ray/rllib/examples/custom_input_api.py
imports: import argparse
  import os
  import ray
  from ray import air, tune
  from ray.rllib.offline import JsonReader, ShuffledInput, IOContext, InputReader
  from ray.tune.registry import get_trainable_cls, register_input
label_desc: Use image node_id 1 for calling a global function with example usage: input_creator(ioctx) and returns: ShuffledInput