hunk.code_window:         raise TypeError("runtime_env['env_vars'] must be of type " "Dict[str, str]")
       return env_vars
   # Dictionary mapping runtime_env options with the function to parse and
   # validate them.
   OPTION_TO_VALIDATION_FN = {
       "py_modules": parse_and_validate_py_modules,
       "working_dir": parse_and_validate_working_dir,
  
hunk.labels: keep keep keep keep add keep keep keep keep keep
hunk.after_edit: def parse_and_validate_eager_install(eager_install: bool) -> bool:
       assert eager_install is not None
       if not isinstance(eager_install, bool):
           raise TypeError(f"eager_install must be a boolean. got {type(eager_install)}")
       return eager_install
  
hunk.file_path: python/ray/_private/runtime_env/validation.py
hunk.type: add
file: :orphan:
  
  tune_tensorflow_mnist_example
  =============================
  
  .. literalinclude:: /../../python/ray/train/examples/tune_tensorflow_mnist_example.py
  