class_docstr: Abstract base class for runtime environment plugins.
class_docstr_tok: ["Abstract","base","class","for","runtime","environment","plugins","."]
docstr: Modify context to change worker startup behavior.
  
  For example, you can use this to preprend "cd <dir>" command to worker
  startup, or add new environment variables.
  
  Args:
      uris: The URIs used by this resource.
      runtime_env: The RuntimeEnv object.
      context: Auxiliary information supplied by Ray.
      logger: A logger to log messages during the context modification.
docstr_tok: ["Modify","context","to","change","worker","startup","behavior",".","For","example",",","you","can","use","this","to","preprend","``","cd","<","dir",">","''","command","to","worker","startup",",","or","add","new","environment","variables",".","Args",":","uris",":","The","URIs","used","by","this","resource",".","runtime_env",":","The","RuntimeEnv","object",".","context",":","Auxiliary","information","supplied","by","Ray",".","logger",":","A","logger","to","log","messages","during","the","context","modification","."]
code: def modify_context(
      self,
      uris: List[str],
      runtime_env: "RuntimeEnv",  # noqa: F821
      context: RuntimeEnvContext,
      logger: logging.Logger,
  ) -> None:
      """Modify context to change worker startup behavior.
  
      For example, you can use this to preprend "cd <dir>" command to worker
      startup, or add new environment variables.
  
      Args:
          uris: The URIs used by this resource.
          runtime_env: The RuntimeEnv object.
          context: Auxiliary information supplied by Ray.
          logger: A logger to log messages during the context modification.
      """
      return
  
imports: import logging
  import os
  import json
  from abc import ABC
  from typing import List, Dict, Optional, Any, Type
  from ray._private.runtime_env.context import RuntimeEnvContext
  from ray._private.runtime_env.uri_cache import URICache
  from ray._private.runtime_env.constants import RAY_RUNTIME_ENV_PLUGINS_ENV_VAR, RAY_RUNTIME_ENV_PLUGIN_DEFAULT_PRIORITY, RAY_RUNTIME_ENV_CLASS_FIELD_NAME, RAY_RUNTIME_ENV_PRIORITY_FIELD_NAME, RAY_RUNTIME_ENV_PLUGIN_MIN_PRIORITY, RAY_RUNTIME_ENV_PLUGIN_MAX_PRIORITY
  from ray.util.annotations import DeveloperAPI
  from ray._private.utils import import_attr
label_desc: Use image node_id 3 for calling the RuntimeEnvPlugin obj's underlying member method code with example usage: obj.modify_context(uris, runtime_env, context, logger) without return types