ray/dashboard/modules/serve
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
..
tests [serve] Make Dashboard start Serve in the "serve" namespace (#23198) 2022-03-16 12:03:44 -05:00
__init__.py [serve] Add REST API (#22578) 2022-02-24 10:00:26 -06:00
sdk.py [serve] Implement Serve Application object (#22917) 2022-03-10 10:28:29 -06:00
serve_head.py [serve] Introduce context.py and client.py (#24067) 2022-04-21 18:35:09 -05:00