class_docstr: Defines a trait whose value must be a valid filesystem path.
class_docstr_tok: ["Defines","a","trait","whose","value","must","be","a","valid","filesystem","path","."]
docstr: Create a BasePath trait.
docstr_tok: ["Create","a","BasePath","trait","."]
code: def __init__(
      self, value=Undefined, exists=False, resolve=False, **metadata
  ):
      """Create a BasePath trait."""
      self.exists = exists
      self.resolve = resolve
      super().__init__(value, **metadata)
  
imports: from collections.abc import Sequence
  from traits import __version__
  import traits.api
  from traits.api import TraitType, Unicode
  from traits.trait_base import _Undefined
  from pathlib import Path
  from ...utils.filemanip import path_resolve
label_desc: Use image node_id 2 to create a new BasePath object from inherited base classes: TraitType with example: obj = BasePath(value, exists, resolve)