1d532d1cb8b829bdf7055a22c206032ca0b72e46,python/ray/dashboard/metrics_exporter/schema.py,IngestRequest,IngestRequest_1,#,54
Before Change
class IngestRequest(BaseModel):
__slots__ = [
"cluster_id", "access_token", "ray_config", "node_info", "raylet_info",
"tune_info", "tune_availability"
]
// TODO(sang): Add piggybacked response.
class IngestResponse(BaseModel):
After Change
class IngestRequest(BaseModel):
__schema__ = {
"cluster_id": Field(required=True, default=None, type=str),
"access_token": Field(required=True, default=None, type=str),
"ray_config": Field(required=True, default=None, type=tuple),
"node_info": Field(required=True, default=None, type=dict),
"raylet_info": Field(required=True, default=None, type=dict),
"tune_info": Field(required=True, default=None, type=dict),
"tune_availability": Field(required=True, default=None, type=dict)
}
class IngestResponse(BaseModel):
__schema__ = {
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: ray-project/ray
Commit Name: 1d532d1cb8b829bdf7055a22c206032ca0b72e46
Time: 2020-04-02
Author: rkooo567@gmail.com
File Name: python/ray/dashboard/metrics_exporter/schema.py
Class Name: IngestRequest
Method Name: IngestRequest_1
Project Name: ray-project/ray
Commit Name: 1d532d1cb8b829bdf7055a22c206032ca0b72e46
Time: 2020-04-02
Author: rkooo567@gmail.com
File Name: python/ray/dashboard/metrics_exporter/schema.py
Class Name: AuthResponse
Method Name: AuthResponse_1
Project Name: ray-project/ray
Commit Name: 1d532d1cb8b829bdf7055a22c206032ca0b72e46
Time: 2020-04-02
Author: rkooo567@gmail.com
File Name: python/ray/dashboard/metrics_exporter/schema.py
Class Name: AuthRequest
Method Name: AuthRequest_1