class_docstr: Save DOT source lines to file.
class_docstr_tok: ["Save","DOT","source","lines","to","file","."]
docstr: Return the kwargs to create a copy of the instance.
docstr_tok: ["Return","the","kwargs","to","create","a","copy","of","the","instance","."]
code: def _copy_kwargs(self, **kwargs):
      """Return the kwargs to create a copy of the instance."""
      assert "directory" not in kwargs
      if "directory" in self.__dict__:
          kwargs["directory"] = self.directory
      return super()._copy_kwargs(filename=self.filename, **kwargs)
  
file_path: graphviz/graphviz/saving.py
imports: import logging
  import os
  import typing
  from .None import _defaults
  from .None import _tools
  from .None import base
  from .None import encoding
label_desc: Use image node_id 2 for calling the Save obj's underlying member method code with example usage: obj._copy_kwargs() and returns: super