Skip to content
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

Add support for correlation string in BLS calls in python backend #339

Closed
wants to merge 10 commits into from

Conversation

pskiran1
Copy link
Member

@pskiran1 pskiran1 commented Feb 1, 2024

No description provided.

@@ -1670,6 +1684,7 @@ PYBIND11_EMBEDDED_MODULE(c_python_backend_utils, module)
py::return_value_policy::reference_internal)
.def("request_id", &InferRequest::RequestId)
.def("correlation_id", &InferRequest::CorrelationId)
.def("correlation_id_string", &InferRequest::CorrelationIdString)
Copy link
Member

Choose a reason for hiding this comment

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

Let's only have a single correlation_id field and it should return string or int depending on which one has been set.

src/python_be.cc Outdated Show resolved Hide resolved
@pskiran1
Copy link
Member Author

pskiran1 commented Mar 8, 2024

Closing the draft PR.
Please find the #344 with more enhancements.

@pskiran1 pskiran1 closed this Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants