code: def get_validated_path(
      current: Optional[Union["Path", Text]],
      parameter: Text,
      default: Optional[Union["Path", Text]] = ...,
      none_is_valid: "Literal[True]" = ...,
  ) -> Optional[Union["Path", Text]]:
      ...
  
imports: import json
  import argparse
  import logging
  import os
  import sys
  import time
  from types import FrameType
  from typing import Any, Dict, List, Optional, TYPE_CHECKING, Text, Union, overload
  import randomname
  import rasa.shared.utils.cli
  import rasa.shared.utils.io
  from rasa.shared.importers.importer import TrainingDataImporter
  from rasa.shared.constants import ASSISTANT_ID_DEFAULT_VALUE, ASSISTANT_ID_KEY, DEFAULT_CONFIG_PATH
  from rasa.shared.utils.cli import print_error
  from rasa import telemetry
label_desc: Use image node_id 2 for calling a global function with example usage: get_validated_path(current, parameter, default, none_is_valid) without return types