(
#[pyo3(from_py_with = datetime_to_timestamp)] timestamp: i64,
)
| 211 | |
| 212 | #[pyfunction] |
| 213 | fn function_with_custom_conversion( |
| 214 | #[pyo3(from_py_with = datetime_to_timestamp)] timestamp: i64, |
| 215 | ) -> i64 { |
| 216 | timestamp |
| 217 | } |
| 218 | |
| 219 | #[test] |
| 220 | fn test_function_with_custom_conversion() { |
nothing calls this directly
no outgoing calls
no test coverage detected