class_docstr: Logical operator for read.
docstr: Set the true parallelism that should be used during execution. This
  should be specified by the user or detected by the optimizer.
docstr_tok: ["Set","the","true","parallelism","that","should","be","used","during","execution",".","This","should","be","specified","by","the","user","or","detected","by","the","optimizer","."]
code: def set_detected_parallelism(self, parallelism: int):
      """
      Set the true parallelism that should be used during execution. This
      should be specified by the user or detected by the optimizer.
      """
      self._detected_parallelism = parallelism
  
file_path: ray/python/ray/data/_internal/logical/operators/read_operator.py
imports: from typing import Any, Dict, Optional, Union
  from ray.data._internal.logical.operators.map_operator import AbstractMap
  from ray.data.datasource.datasource import Datasource, Reader
label_desc: Use image node_id 2 for calling the Read obj's underlying member method code with example usage: obj.set_detected_parallelism(parallelism) without return types