-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Serve] Expose ApplicationStatus class to API docs (#34966) #48220
[Serve] Expose ApplicationStatus class to API docs (#34966) #48220
Conversation
…erview classes to API docs Signed-off-by: akyang-anyscale <alexyang@anyscale.com>
Signed-off-by: akyang-anyscale <alexyang@anyscale.com>
Signed-off-by: akyang-anyscale <alexyang@anyscale.com>
Signed-off-by: akyang-anyscale <alexyang@anyscale.com>
Signed-off-by: akyang-anyscale <alexyang@anyscale.com>
Signed-off-by: akyang-anyscale <alexyang@anyscale.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A journey of a thousand miles...
Looks like a couple annotations are still missing: https://buildkite.com/ray-project/microcheck/builds/6362#0192bb23-7c79-4009-898b-cd8969cf276f/184-476 |
Signed-off-by: akyang-anyscale <alexyang@anyscale.com>
Signed-off-by: akyang-anyscale <alexyang@anyscale.com>
I actually rather not have |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
python/ray/serve/schema.py
Outdated
@PublicAPI(stability="alpha") | ||
@dataclass | ||
class ApplicationStatusOverview: | ||
"""Describes the status of an application and all its deployments. | ||
"""Describes the satus of an application and all its deployments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"""Describes the satus of an application and all its deployments. | |
"""Describes the status of an application and all its deployments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice catch
Signed-off-by: akyang-anyscale <alexyang@anyscale.com>
Signed-off-by: akyang-anyscale <alexyang@anyscale.com>
ray-project#48220) ## Why are these changes needed? This PR moves the ApplicationStatus class out of the _private directory, allowing it to be included in the API docs. ## Related issue number Closes ray-project#34966 --------- Signed-off-by: akyang-anyscale <alexyang@anyscale.com>
ray-project#48220) ## Why are these changes needed? This PR moves the ApplicationStatus class out of the _private directory, allowing it to be included in the API docs. ## Related issue number Closes ray-project#34966 --------- Signed-off-by: akyang-anyscale <alexyang@anyscale.com>
ray-project#48220) ## Why are these changes needed? This PR moves the ApplicationStatus class out of the _private directory, allowing it to be included in the API docs. ## Related issue number Closes ray-project#34966 --------- Signed-off-by: akyang-anyscale <alexyang@anyscale.com> Signed-off-by: mohitjain2504 <mohit.jain@dream11.com>
Why are these changes needed?
This PR moves the ApplicationStatus class out of the _private directory, allowing it to be included in the API docs.
Related issue number
Closes #34966
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.