docstr: returns fitered list of imageData which are filtered according to client (=annotator) and parameters (approved, flagged)
docstr_tok: ["returns","fitered","list","of","imageData","which","are","filtered","according","to","client","(","=annotator",")","and","parameters","(","approved",",","flagged",")"]
code: def getImageDataByClientId(
      self, clientId: str, approved=False, flagged=False
  ) -> List[ImageData]:
      """
      returns fitered list of imageData which are filtered according to client (=annotator) and parameters (approved, flagged)
      """
      if clientId == "":
          return None
      if approved and flagged:
          logging.warning(
              "{}: Selected filter options are not valid: approved='{}' and flagged='{}')".format(
                  self.getCurrentTime(), approved, flagged
              )
          )
          return None
  
      imageIds = self.clientToImageIds[clientId]
  
      if approved is False and flagged is False:
          return self.extractImageDataByIds(imageIds)
      else:
          return self.extractImageDataByApprovedAndFlaggedStatus(
              clientId, approved, flagged, imageIds
          )
  
imports: import datetime
  import logging
  from typing import Dict, List
  from MONAILabelReviewerLib.ImageData import ImageData
  from MONAILabelReviewerLib.MONAILabelReviewerEnum import Level
label_desc: Use image node_id 20 for calling the ImageDataExtractor obj's underlying member method code with example usage: obj.getImageDataByClientId(clientId, approved, flagged) and returns: None, None, self, self