tempo.serve.protocol module

class tempo.serve.protocol.Protocol

Bases: abc.ABC

abstract from_protocol_request(res: Dict, tys: tempo.serve.metadata.ModelDataArgs) → Any
abstract from_protocol_response(res: Dict, tys: tempo.serve.metadata.ModelDataArgs) → Any
abstract get_predict_path(model_details: tempo.serve.metadata.ModelDetails) → str
abstract get_status_path(model_details: tempo.serve.metadata.ModelDetails) → str
abstract to_protocol_request(*args, **kwargs) → Dict
abstract to_protocol_response(model_details: tempo.serve.metadata.ModelDetails, *args, **kwargs) → Dict