class_docstr: An abstract class for updating files.
class_docstr_tok: ["An","abstract","class","for","updating","files","."]
docstr: Creates ``FileUpdater`` for updating a file to be compatible with version 2.0 and later.
  
  Args:
      input_path (str): Location of the input file.
      output_path (str): Desired location for the output file.
          If the directories don't already exist, then they are created.
          If a file exists at ``output_path``, then it is overwritten.
docstr_tok: ["Creates","``","FileUpdater","``","for","updating","a","file","to","be","compatible","with","version","2.0","and","later",".","Args",":","input_path","(","str",")",":","Location","of","the","input","file",".","output_path","(","str",")",":","Desired","location","for","the","output","file",".","If","the","directories","do","n't","already","exist",",","then","they","are","created",".","If","a","file","exists","at","``","output_path","``",",","then","it","is","overwritten","."]
code: def __init__(self, input_path, output_path):
      """Creates ``FileUpdater`` for updating a file to be compatible with version 2.0 and later.
  
      Args:
          input_path (str): Location of the input file.
          output_path (str): Desired location for the output file.
              If the directories don't already exist, then they are created.
              If a file exists at ``output_path``, then it is overwritten.
      """
      self.input_path = input_path
      self.output_path = output_path
  
imports: from __future__ import absolute_import
  from abc import abstractmethod
  import json
  import logging
  import os
  import pasta
  from sagemaker.cli.compatibility.v2.ast_transformer import ASTTransformer
label_desc: Use image node_id 1 to create a new FileUpdater object from inherited base classes: object with example: obj = FileUpdater(input_path, output_path)