Skip to content

Commit

Permalink
Refactor from_scalar mod
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Feb 20, 2024
1 parent 39100dd commit 90d7667
Show file tree
Hide file tree
Showing 13 changed files with 462 additions and 410 deletions.
23 changes: 23 additions & 0 deletions python/core/src/ffi/_from_python.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
use std::sync::Arc;

use crate::array::*;
use crate::chunked_array::*;
use crate::ffi::stream_chunked::ArrowArrayStreamReader;
use crate::table::GeoTable;
use arrow::datatypes::Field;
use arrow::ffi::{FFI_ArrowArray, FFI_ArrowSchema};
use arrow::ffi_stream::{
ArrowArrayStreamReader as ArrowRecordBatchStreamReader, FFI_ArrowArrayStream,
};
use arrow_array::Array;
use arrow_array::{make_array, ArrayRef, RecordBatchReader};
use geoarrow::array::from_arrow_array;
use geoarrow::chunked_array::{from_arrow_chunks, ChunkedGeometryArrayTrait};
use geoarrow::datatypes::GeoDataType;
use geoarrow::io::geozero::ToGeometry;
use geoarrow::GeometryArrayTrait;
use geozero::geojson::GeoJsonString;
use pyo3::exceptions::{PyTypeError, PyValueError};
use pyo3::prelude::*;
use pyo3::types::{PyCapsule, PyDict, PyTuple, PyType};
use pyo3::{intern, PyAny, PyResult};
Loading

0 comments on commit 90d7667

Please sign in to comment.