Skip to content

Commit a3a7a95

Browse files
authored
make TransformStreamIterator::new pub (#1162)
1 parent 2a6a6c8 commit a3a7a95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgml-extension/src/bindings/transformers/transformers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub struct TransformStreamIterator {
1212
}
1313

1414
impl TransformStreamIterator {
15-
fn new(python_iter: Py<PyAny>) -> Self {
15+
pub fn new(python_iter: Py<PyAny>) -> Self {
1616
let locals = Python::with_gil(|py| -> Result<Py<PyDict>, PyErr> {
1717
Ok([("python_iter", python_iter)].into_py_dict(py).into())
1818
})

0 commit comments

Comments
 (0)