will be possible after the following pybind11 PR is merged: https://github.com/pybind/pybind11/pull/5015