<div dir="ltr">This is a one line change to expose the Request object's sequence number on the pybind11 surfaces for use in upstream applications.<div><br></div><div>I'm new to this email based approach (let me know if I am doing this right), but the associated PR is here:<br><a href="https://github.com/kbingham/libcamera/pull/61">https://github.com/kbingham/libcamera/pull/61</a><br></div><div><br></div><div>Signed-off-by: Matthew Goodman <<a href="mailto:matt@exclosure.io">matt@exclosure.io</a>><br>---<br></div><div>diff --git a/src/py/libcamera/py_main.cpp b/src/py/libcamera/py_main.cpp<br>index 75947889..d14e18e2 100644<br>--- a/src/py/libcamera/py_main.cpp<br>+++ b/src/py/libcamera/py_main.cpp<br>@@ -335,6 +335,7 @@ PYBIND11_MODULE(_libcamera, m)<br>                .def_property_readonly("status", &Request::status)<br>                .def_property_readonly("buffers", &Request::buffers)<br>                .def_property_readonly("cookie", &Request::cookie)<br>+               .def_property_readonly("sequence", &Request::sequence)<br>                .def_property_readonly("has_pending_buffers", &Request::hasPendingBuffers)<br>                .def("set_control", [](Request &self, const ControlId &id, py::object value) {<br>                        self.controls().set(<a href="http://id.id">id.id</a>(), pyToControlValue(value, id.type()));<br></div></div>