class_docstr: Derived class needs to implement the following interface:
    * query() -- given input, return query result
    * get_doc_string() -- returns documentation for the Query Object
class_docstr_tok: ["Derived","class","needs","to","implement","the","following","interface",":","*","query","(",")","--","given","input",",","return","query","result","*","get_doc_string","(",")","--","returns","documentation","for","the","Query","Object"]
docstr: Save current query object to local path
          
docstr_tok: ["Save","current","query","object","to","local","path"]
code: def _save_local(self, path):
      """Save current query object to local path"""
      try:
          os.makedirs(path)
      except OSError as e:
          import errno
  
          if e.errno == errno.EEXIST and os.path.isdir(path):
              pass
          else:
              raise
  
      with open(os.path.join(path, "pickle_archive"), "wb") as f:
          _cloudpickle.dump(self, f)
  
file_path: TabPy/tabpy/tabpy_tools/query_object.py
imports: import abc
  import logging
  import os
  import json
  import shutil
  import cloudpickle
label_desc: Use image node_id 6 for calling the QueryObject obj's underlying member method code with example usage: obj._save_local(path) without return types