ray/dashboard/modules/version.py
Alan Guo 729566d8ff
bump jobs version after making a backwards-incompatible change (#27281)
Backwards incompatible change was #25902

2.0.0 cherry-pick but not a rc0 blocker

Signed-off-by: Alan Guo <aguo@anyscale.com>
2022-07-30 00:11:29 -07:00

14 lines
392 B
Python

from dataclasses import dataclass
# Version 0 -> 1: Added log streaming and changed behavior of job logs cli.
# Version 1 -> 2: - Renamed job_id to submission_id.
# - Changed list_jobs sdk/cli/api to return a list
# instead of a dictionary.
CURRENT_VERSION = "2"
@dataclass
class VersionResponse:
version: str
ray_version: str
ray_commit: str