[Serve] Make public all of the type hints that are used by the serve.status() API #43394
Labels
enhancement
Request for new feature and/or capability
P1.5
Issues that will be fixed in a couple releases. It will be bumped once all P1s are cleared
serve
Ray Serve Related Issue
Description
Currently,
serve.status()
returns aServeStatus
class type which is a Public API. However,ServeStatus
has children/descendants whose types are not part of the Public API, such asProxyStatus
andApplicationStatus
.As a result, when a user wants to use the
ServeStatus
type hint, they must also import additional type hints fromray.serve._private
.It would be great if all of these types are part of the Public API, so that I do not have to import from
ray.serve._private.common
.Use case
With this change, I would not have to import from the
ray.serve._private
module when using theServeStatus
type hint.The text was updated successfully, but these errors were encountered: