From ec9cea23a10151062158dfa1ed5ce81de8280234 Mon Sep 17 00:00:00 2001 From: liamembark Date: Thu, 1 Sep 2022 17:46:49 -0700 Subject: [PATCH 1/2] Re-add ability to pass topics as tuple --- python/embag.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python/embag.cc b/python/embag.cc index a199a02..a813c45 100644 --- a/python/embag.cc +++ b/python/embag.cc @@ -28,10 +28,8 @@ PYBIND11_MODULE(libembag, m) { view.getMessages(); } else if (py::isinstance(topics)) { view.getMessages(topics.cast()); - } else if (py::isinstance(topics)) { - view.getMessages(topics.cast>()); } else { - throw std::runtime_error("topics must be None, a string, or a list!"); + view.getMessages(topics.cast>()); } return py::make_iterator(IteratorCompat{view.begin()}, IteratorCompat{view.end()}); From cb017e79e22ccee5851aff96124e8c46123b1ffb Mon Sep 17 00:00:00 2001 From: liamembark Date: Thu, 1 Sep 2022 17:49:59 -0700 Subject: [PATCH 2/2] Bump version --- .bazelversion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bazelversion b/.bazelversion index 7c69a55..ee74734 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -3.7.0 +4.1.0