class_docstr: Does not split records, essentially reads the whole file.
docstr: Split a file into records using a specific strategy.
  
  For this NoneSplitter there is no actual split happening and the file
  is returned as a whole.
  
  Args:
      filename (str): path to the file to split
  
  Returns: generator for the individual records that were split from
      the file
docstr_tok: ["Split","a","file","into","records","using","a","specific","strategy",".","For","this","NoneSplitter","there","is","no","actual","split","happening","and","the","file","is","returned","as","a","whole",".","Args",":","filename","(","str",")",":","path","to","the","file","to","split","Returns",":","generator","for","the","individual","records","that","were","split","from","the","file"]
code: def split(self, filename):
      """Split a file into records using a specific strategy.
  
      For this NoneSplitter there is no actual split happening and the file
      is returned as a whole.
  
      Args:
          filename (str): path to the file to split
  
      Returns: generator for the individual records that were split from
          the file
      """
      with open(filename, "rb") as f:
          buf = f.read()
          if not self._is_binary(buf):
              buf = buf.decode()
          yield buf
  
imports: from __future__ import absolute_import
  import os
  import platform
  import sys
  import tempfile
  from abc import ABCMeta
  from abc import abstractmethod
  from six import with_metaclass
  from six.moves.urllib.parse import urlparse
  import sagemaker.amazon.common
  import sagemaker.local.utils
  import sagemaker.utils
label_desc: Use image node_id 1 for calling the NoneSplitter obj's underlying member method code with example usage: obj.split(filename) without return types