Skip to content
Prev Previous commit
Next Next commit
rm todo
  • Loading branch information
seanshi-scale committed Jun 28, 2022
commit db26c2de8afd0758454b7df80a7d3f59ae3bca2e
1 change: 0 additions & 1 deletion launch/model_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ def predict(self, request: EndpointRequest) -> EndpointResponse:
args=request.args,
return_pickled=request.return_pickled,
)
# TODO catch error response and populate traceback?
return EndpointResponse(
client=self.client,
status=raw_response.get("state"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we consolidate on state vs status haha

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should tbh, I like status personally

Expand Down