class_docstr: DataSource which loads data from TSV sources. Uses python's csv library.
class_docstr_tok: ["DataSource","which","loads","data","from","TSV","sources",".","Uses","python","'s","csv","library","."]
code: def __init__(
      self,
      train_file=None,
      test_file=None,
      eval_file=None,
      field_names=None,
      delimiter=Config.delimiter,
      quoted=Config.quoted,
      drop_incomplete_rows=Config.drop_incomplete_rows,
      **kwargs,
  ):
      super().__init__(**kwargs)
      self._init_tsv(
          field_names,
          delimiter,
          train_file,
          test_file,
          eval_file,
          quoted,
          drop_incomplete_rows,
      )
  
imports: import csv
  import logging
  import sys
  import threading
  from typing import Dict, List, Optional, Type
  from pytext.utils.path import get_absolute_path
  from .data_source import generator_property, RootDataSource, SafeFileWrapper, ShardedDataSource
  from .session import SessionDataSource
label_desc: Use image node_id 2 to create a new TSVDataSource object from inherited base classes: RootDataSource with example: obj = TSVDataSource(train_file, test_file, eval_file, field_names, delimiter, quoted, drop_incomplete_rows)