Skip to content

Commit 073d3c4

Browse files
committed
adds todo on rust o3 deprecation
1 parent b0755e8 commit 073d3c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rust/src/python/parsing.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ use pyo3::types::PyTime;
77
use crate::parsing::Parser;
88
use crate::python::types::{Duration, FixedTimezone};
99

10+
// TODO: pyO3 v0.23 deprecates `ToPyObject`, function below must be migrated as per
11+
// https://pyo3.rs/v0.23.0/migration
1012
#[allow(deprecated)]
1113
#[pyfunction]
1214
pub fn parse_iso8601(py: Python, input: &str) -> PyResult<PyObject> {

0 commit comments

Comments
 (0)