class_docstr: EMR step for workflow.
class_docstr_tok: ["EMR","step","for","workflow","."]
docstr: Updates the dictionary with cache configuration.
docstr_tok: ["Updates","the","dictionary","with","cache","configuration","."]
code: def to_request(self) -> RequestType:
      """Updates the dictionary with cache configuration."""
      request_dict = super().to_request()
      if self.cache_config:
          request_dict.update(self.cache_config.config)
      return request_dict
  
file_path: sagemaker-python-sdk/src/sagemaker/workflow/emr_step.py
imports: from __future__ import absolute_import
  from typing import Any, Dict, List, Union, Optional
  from sagemaker.workflow.entities import RequestType
  from sagemaker.workflow.properties import Properties
  from sagemaker.workflow.step_collections import StepCollection
  from sagemaker.workflow.steps import Step, StepTypeEnum, CacheConfig
label_desc: Use image node_id 5 for calling the EMRStep obj's underlying member method code with example usage: obj.to_request() and returns: request_dict