pub fn instrument_any_to_pyobject( py: Python<'_>, instrument: InstrumentAny, ) -> PyResult<PyObject>