Skip to content

Commit

Permalink
Add missing #[getter] on ChunkedArray.type (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron authored Jul 31, 2024
1 parent 085aee6 commit 35211f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyo3-arrow/src/chunked.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ impl PyChunkedArray {
self.__array__(py, None, None)
}

#[getter]
pub fn r#type(&self, py: Python) -> PyResult<PyObject> {
PyDataType::new(self.field.data_type().clone()).to_arro3(py)
}
Expand Down

0 comments on commit 35211f5

Please sign in to comment.