def __init__(self, file_pattern=None, min_bundle_size=0, compression_type=CompressionTypes.AUTO, strip_trailing_newlines=True, coder=coders.StrUtf8Coder(), validate=True, skip_header_lines=0, **kwargs):
    "Initialize the :class:`ReadFromText` transform.\n\n    Args:\n      file_pattern (str): The file path to read from as a local file path or a\n        GCS ``gs://`` path. The path can contain glob characters\n        (``*``, ``?``, and ``[...]`` sets).\n      min_bundle_size (int): Minimum size of bundles that should be generated\n        when splitting this source into bundles. See\n        :class:`~apache_beam.io.filebasedsource.FileBasedSource` for more\n        details.\n      compression_type (str): Used to handle compressed input files.\n        Typical value is :attr:`CompressionTypes.AUTO\n        <apache_beam.io.filesystem.CompressionTypes.AUTO>`, in which case the\n        underlying file_path's extension will be used to detect the compression.\n      strip_trailing_newlines (bool): Indicates whether this source should\n        remove the newline char in each line it reads before decoding that line.\n      validate (bool): flag to verify that the files exist during the pipeline\n        creation time.\n      skip_header_lines (int): Number of header lines to skip. Same number is\n        skipped from each source file. Must be 0 or higher. Large number of\n        skipped lines might impact performance.\n      coder (~apache_beam.coders.coders.Coder): Coder used to decode each line.\n    "
    super(ReadFromText, self).__init__(**kwargs)
    self._source = self._source_class(file_pattern, min_bundle_size, compression_type, strip_trailing_newlines, coder, validate=validate, skip_header_lines=skip_header_lines)
Initialize the :class:`ReadFromText` transform.

Args:
  file_pattern (str): The file path to read from as a local file path or a
    GCS ``gs://`` path. The path can contain glob characters
    (``*``, ``?``, and ``[...]`` sets).
  min_bundle_size (int): Minimum size of bundles that should be generated
    when splitting this source into bundles. See
    :class:`~apache_beam.io.filebasedsource.FileBasedSource` for more
    details.
  compression_type (str): Used to handle compressed input files.
    Typical value is :attr:`CompressionTypes.AUTO
    <apache_beam.io.filesystem.CompressionTypes.AUTO>`, in which case the
    underlying file_path's extension will be used to detect the compression.
  strip_trailing_newlines (bool): Indicates whether this source should
    remove the newline char in each line it reads before decoding that line.
  validate (bool): flag to verify that the files exist during the pipeline
    creation time.
  skip_header_lines (int): Number of header lines to skip. Same number is
    skipped from each source file. Must be 0 or higher. Large number of
    skipped lines might impact performance.
  coder (~apache_beam.coders.coders.Coder): Coder used to decode each line.
def __init__(self, file_pattern=None, min_bundle_size=0, compression_type=CompressionTypes.AUTO, strip_trailing_newlines=True, coder=coders.StrUtf8Coder(), validate=True, skip_header_lines=0, **kwargs):
    "Initialize the :class:`ReadFromText` transform.\n\n    Args:\n      file_pattern (str): The file path to read from as a local file path or a\n        GCS ``gs://`` path. The path can contain glob characters\n        (``*``, ``?``, and ``[...]`` sets).\n      min_bundle_size (int): Minimum size of bundles that should be generated\n        when splitting this source into bundles. See\n        :class:`~apache_beam.io.filebasedsource.FileBasedSource` for more\n        details.\n      compression_type (str): Used to handle compressed input files.\n        Typical value is :attr:`CompressionTypes.AUTO\n        <apache_beam.io.filesystem.CompressionTypes.AUTO>`, in which case the\n        underlying file_path's extension will be used to detect the compression.\n      strip_trailing_newlines (bool): Indicates whether this source should\n        remove the newline char in each line it reads before decoding that line.\n      validate (bool): flag to verify that the files exist during the pipeline\n        creation time.\n      skip_header_lines (int): Number of header lines to skip. Same number is\n        skipped from each source file. Must be 0 or higher. Large number of\n        skipped lines might impact performance.\n      coder (~apache_beam.coders.coders.Coder): Coder used to decode each line.\n    "
    super(ReadFromText, self).__init__(**kwargs)
    self._source = self._source_class(file_pattern, min_bundle_size, compression_type, strip_trailing_newlines, coder, validate=validate, skip_header_lines=skip_header_lines)