class_docstr: A class that reads cluster config from a yaml file.
class_docstr_tok: ["A","class","that","reads","cluster","config","from","a","yaml","file","."]
docstr: Reads the configs from the file and returns the autoscaling config.
  
  This reads from the file every time to pick up changes.
  
  Returns:
      AutoscalingConfig: The autoscaling config.
code: def get_autoscaling_config(self) -> AutoscalingConfig:
      """
      Reads the configs from the file and returns the autoscaling config.
  
      This reads from the file every time to pick up changes.
  
      Returns:
          AutoscalingConfig: The autoscaling config.
      """
      with open(self._config_file_path) as f:
          config = yaml.safe_load(f.read())
          return AutoscalingConfig(
              config, skip_content_hash=self._skip_content_hash
          )
  
imports: import copy
  import logging
  from abc import ABC, abstractmethod
  from dataclasses import dataclass, field
  from enum import Enum
  from pathlib import Path
  from typing import Any, Dict, List, Optional
  import yaml
  from ray.autoscaler._private.util import hash_runtime_conf, prepare_config, validate_config
  from ray.autoscaler.v2.schema import NodeType
label_desc: Use image node_id 2 for calling the FileConfigReader obj's underlying member method code with example usage: obj.get_autoscaling_config() and returns: AutoscalingConfig