class_docstr: Test class simulates the bundle workflow defined by Python script directly.
class_docstr_tok: ["Test","class","simulates","the","bundle","workflow","defined","by","Python","script","directly","."]
code: def _get_property(self, name, property):
      if name == "bundle_root":
          return self._bundle_root
      if name == "dataset_dir":
          return self._dataset_dir
      if name == "dataset_data":
          return self._data
      if name == "dataset":
          return self._dataset
      if name == "device":
          return self._device
      if name == "evaluator":
          return self._evaluator
      if name == "network_def":
          return self._network_def
      if name == "inferer":
          return self._inferer
      if name == "preprocessing":
          return self._preprocessing
      if name == "postprocessing":
          return self._postprocessing
      if name == "version":
          return self._version
      if name == "monai_version":
          return self._monai_version
      if name == "pytorch_version":
          return self._pytorch_version
      if name == "numpy_version":
          return self._numpy_version
      if property[BundleProperty.REQUIRED]:
          raise ValueError(
              f"unsupported property '{name}' is required in the bundle properties."
          )
  
file_path: MONAI/tests/nonconfig_workflow.py
imports: from __future__ import annotations
  import torch
  from monai.bundle import BundleWorkflow
  from monai.data import DataLoader, Dataset
  from monai.engines import SupervisedEvaluator
  from monai.inferers import SlidingWindowInferer
  from monai.networks.nets import UNet
  from monai.transforms import Activationsd, AsDiscreted, Compose, EnsureChannelFirstd, LoadImaged, SaveImaged, ScaleIntensityd
  from monai.utils import BundleProperty, set_determinism
label_desc: Use image node_id 5 for calling the NonConfigWorkflow obj's underlying member method code with example usage: obj._get_property(name, property) and returns: self, self, self, self, self, self, self, self, self, self, self, self, self, self