ray/release/long_running_tests/workloads
shrekris-anyscale b51d0aa8b1
[serve] Introduce context.py and client.py (#24067)
Serve stores context state, including the `_INTERNAL_REPLICA_CONTEXT` and the `_global_client` in `api.py`. However, these data structures are referenced throughout the codebase, causing circular dependencies. This change introduces two new files:

* `context.py`
    * Intended to expose process-wide state to internal Serve code as well as `api.py`
    * Stores the `_INTERNAL_REPLICA_CONTEXT` and the `_global_client` global variables
* `client.py`
    * Stores the definition for the Serve `Client` object, now called the `ServeControllerClient`
2022-04-21 18:35:09 -05:00
..
actor_deaths.py [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
apex.py [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
impala.py [rllib] Fix impala long running test (#22619) 2022-02-24 09:03:55 -08:00
many_actor_tasks.py [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
many_drivers.py Fix a bug from many drivers. (#22248) 2022-02-09 15:17:15 -08:00
many_ppo.py [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
many_tasks.py [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
many_tasks_serialized_ids.py [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
node_failures.py [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
pbt.py [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
serve.py [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
serve_failure.py [serve] Introduce context.py and client.py (#24067) 2022-04-21 18:35:09 -05:00