code: def serving(self, val: bool) -> None:
      if val:
          self._running_stage = RunningStage.SERVING
      elif self.serving:
          self._running_stage = None
  
file_path: lightning-flash/src/flash/core/data/properties.py
imports: from typing import Optional
  from flash.core.utilities.stages import RunningStage
label_desc: Use image node_id 12 for calling the Properties obj's underlying member method code with example usage: obj.serving(val) without return types