class_docstr: A functional wrapper of ``csv.Sniffer()``.
class_docstr_tok: ["A","functional","wrapper","of","``","csv.Sniffer","(",")","``","."]
docstr: A functional version of ``csv.Sniffer().sniff``, that extends the
  list of possible delimiters to include some seen in the wild.
docstr_tok: ["A","functional","version","of","``","csv.Sniffer","(",")",".sniff","``",",","that","extends","the","list","of","possible","delimiters","to","include","some","seen","in","the","wild","."]
code: def sniff(self, sample):
      """
      A functional version of ``csv.Sniffer().sniff``, that extends the
      list of possible delimiters to include some seen in the wild.
      """
      try:
          dialect = csv.Sniffer().sniff(sample, POSSIBLE_DELIMITERS)
      except csv.Error as e:
          warnings.warn(
              "Error sniffing CSV dialect: %s" % e,
              RuntimeWarning,
              stacklevel=2,
          )
          dialect = None
  
      return dialect
  
imports: import csv
  import warnings
  from agate.exceptions import FieldSizeLimitError
label_desc: Use image node_id 1 for calling the Sniffer obj's underlying member method code with example usage: obj.sniff(sample) and returns: dialect