class_docstr: Custom Driver for file based ExampleGen, e.g., ImportExampleGen.
class_docstr_tok: ["Custom","Driver","for","file","based","ExampleGen",",","e.g.",",","ImportExampleGen","."]
docstr: Returns FileBasedInputProcessor.
docstr_tok: ["Returns","FileBasedInputProcessor","."]
code: def get_input_processor(
      self,
      splits: Iterable[example_gen_pb2.Input.Split],
      range_config: Optional[range_config_pb2.RangeConfig] = None,
      input_base_uri: Optional[str] = None,
  ) -> input_processor.InputProcessor:
      """Returns FileBasedInputProcessor."""
      assert input_base_uri
      return input_processor.FileBasedInputProcessor(
          input_base_uri, splits, range_config
      )
  
imports: import copy
  import os
  from typing import Any, Dict, List, Iterable, Optional
  from absl import logging
  from tfx import types
  from tfx.components.example_gen import input_processor
  from tfx.components.example_gen import utils
  from tfx.dsl.components.base import base_driver
  from tfx.orchestration import data_types
  from tfx.orchestration import data_types_utils
  from tfx.orchestration import metadata
  from tfx.orchestration.portable import base_driver
  from tfx.orchestration.portable import data_types
  from tfx.proto import example_gen_pb2
  from tfx.proto import range_config_pb2
  from tfx.proto.orchestration import driver_output_pb2
  from tfx.types import standard_component_specs
  from tfx.utils import proto_utils
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 1 for calling the FileBasedDriver obj's underlying member method code with example usage: obj.get_input_processor(splits, range_config, input_base_uri) and returns: input_processor