code: def get_data_path(self, create: bool = True) -> Path:
      path = self.data_path
      if not path.exists():
          path.mkdir(parents=True, exist_ok=True)
  
      return path
  
imports: import os
  from pathlib import Path
  from .core.settings import Settings
label_desc: Use image node_id 1 for calling the Environment obj's underlying member method code with example usage: obj.get_data_path(create) and returns: path