class_docstr: General JSON config manager
  
  Deals with persisting/storing config in a json file
class_docstr_tok: ["General","JSON","config","manager","Deals","with","persisting\/storing","config","in","a","json","file"]
code: def ensure_config_dir_exists(self):
      try:
          os.makedirs(self.config_dir, 0o755)
      except OSError as e:
          if e.errno != errno.EEXIST:
              raise
  
file_path: catboost/contrib/python/traitlets/py2/traitlets/config/manager.py
imports: import errno
  import io
  import json
  import os
  from six import PY3
  from traitlets.config import LoggingConfigurable
  from traitlets.traitlets import Unicode
label_desc: Use image node_id 1 for calling the BaseJSONConfigManager obj's underlying member method code with example usage: obj.ensure_config_dir_exists() without return types