class_docstr: Datasource for reading from and writing to MongoDB.
class_docstr_tok: ["Datasource","for","reading","from","and","writing","to","MongoDB","."]
code: def estimate_inmemory_data_size(self) -> Optional[int]:
      # TODO(jian): Add memory size estimation to improve auto-tune of parallelism.
      return None
  
file_path: ray/python/ray/data/datasource/mongo_datasource.py
imports: import logging
  from typing import TYPE_CHECKING, Dict, List, Optional
  from ray.data.block import Block, BlockMetadata
  from ray.data.datasource.datasource import Datasource, ReadTask
  from ray.util.annotations import PublicAPI
label_desc: Use image node_id 2 for calling the MongoDatasource obj's underlying member method code with example usage: obj.estimate_inmemory_data_size() and returns: None