From 383a16f31adc920f0e008c1ac02e42fa94241b9c Mon Sep 17 00:00:00 2001 From: Kyle Barron Date: Tue, 2 Jan 2024 00:25:29 -0500 Subject: [PATCH] python docs ci fix (#376) --- .github/workflows/python-docs.yml | 11 +- python/core/README.md | 4 +- python/core/docs/api/functions.md | 11 + python/core/docs/api/index.md | 3 - python/core/docs/api/primitive/array.md | 20 +- python/core/docs/api/primitive/chunked.md | 20 +- python/core/docs/api/table.md | 2 +- python/core/docs/api/types.md | 3 + python/core/mkdocs.yml | 10 +- python/core/poetry.lock | 44 ++- python/core/pyproject.toml | 4 + .../core/python/geoarrow/rust/core/rust.pyi | 254 +++++++++--------- python/core/src/ffi/to_python.rs | 8 +- python/core/src/lib.rs | 48 ++-- 14 files changed, 242 insertions(+), 200 deletions(-) delete mode 100644 python/core/docs/api/index.md create mode 100644 python/core/docs/api/types.md diff --git a/.github/workflows/python-docs.yml b/.github/workflows/python-docs.yml index 4355fbfc..a9525e95 100644 --- a/.github/workflows/python-docs.yml +++ b/.github/workflows/python-docs.yml @@ -20,6 +20,11 @@ jobs: with: fetch-depth: 0 + - name: Install Rust + uses: dtolnay/rust-toolchain@stable + + - uses: Swatinem/rust-cache@v2 + - name: Set up Python 3.11 id: setup-python uses: actions/setup-python@v4 @@ -45,6 +50,10 @@ jobs: if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' run: poetry install --no-interaction --no-root + - name: Build python package + run: | + poetry run maturin build + - name: Install root project run: poetry install --no-interaction @@ -63,6 +72,6 @@ jobs: # Only push docs if no letters in git tag after the first character # (usually the git tag will have v as the first character) - if ! echo $VERSION | cut -c 1- | grep -q "[A-Za-z]"; then + if echo $VERSION | cut -c 1- | grep -q "[A-Za-z]"; then poetry run mike deploy $VERSION latest --update-aliases --push fi diff --git a/python/core/README.md b/python/core/README.md index c595e499..ca539163 100644 --- a/python/core/README.md +++ b/python/core/README.md @@ -1,4 +1,6 @@ -# `geoarrow.rust.core`: Python bindings to `geoarrow-rs` +# `geoarrow.rust.core` + +Python bindings to `geoarrow-rs` ## Overview diff --git a/python/core/docs/api/functions.md b/python/core/docs/api/functions.md index b9d27e43..0277f3e3 100644 --- a/python/core/docs/api/functions.md +++ b/python/core/docs/api/functions.md @@ -9,4 +9,15 @@ - signed_area - center - centroid + - chaikin_smoothing + - chamberlain_duquette_unsigned_area + - chamberlain_duquette_signed_area - convex_hull + - densify + - envelope + - is_empty + - geodesic_area_signed + - geodesic_area_unsigned + - geodesic_perimeter + - simplify + - simplify_vw diff --git a/python/core/docs/api/index.md b/python/core/docs/api/index.md deleted file mode 100644 index bfc2c5fc..00000000 --- a/python/core/docs/api/index.md +++ /dev/null @@ -1,3 +0,0 @@ -# geoarrow.rust.core - -At this point, _all_ exports are provided at the top level. diff --git a/python/core/docs/api/primitive/array.md b/python/core/docs/api/primitive/array.md index d0314097..a6ba857a 100644 --- a/python/core/docs/api/primitive/array.md +++ b/python/core/docs/api/primitive/array.md @@ -4,10 +4,10 @@ Arrays of non-geospatial types. These exist to be used as _return_ types from geospatial operations to maintain strong typing. - [`BooleanArray`](#geoarrow.rust.core.BooleanArray) -- [`Float16Array`](#geoarrow.rust.core.Float16Array) -- [`Float32Array`](#geoarrow.rust.core.Float32Array) + - [`Float64Array`](#geoarrow.rust.core.Float64Array) -- [`UInt8Array`](#geoarrow.rust.core.UInt8Array) + ::: geoarrow.rust.core options: @@ -25,16 +25,4 @@ geospatial operations to maintain strong typing. - "^__arrow" members: - BooleanArray - - Float16Array - - Float32Array - Float64Array - - UInt8Array - - UInt16Array - - UInt32Array - - UInt64Array - - Int8Array - - Int16Array - - Int32Array - - Int64Array - - StringArray - - LargeStringArray diff --git a/python/core/docs/api/primitive/chunked.md b/python/core/docs/api/primitive/chunked.md index 9c9195e4..1d45a441 100644 --- a/python/core/docs/api/primitive/chunked.md +++ b/python/core/docs/api/primitive/chunked.md @@ -4,10 +4,10 @@ Chunked arrays of non-geospatial types. These exist to be used as _return_ types from geospatial operations to maintain strong typing. - [`ChunkedBooleanArray`](#geoarrow.rust.core.ChunkedBooleanArray) -- [`ChunkedFloat16Array`](#geoarrow.rust.core.ChunkedFloat16Array) -- [`ChunkedFloat32Array`](#geoarrow.rust.core.ChunkedFloat32Array) + - [`ChunkedFloat64Array`](#geoarrow.rust.core.ChunkedFloat64Array) -- [`ChunkedUInt8Array`](#geoarrow.rust.core.ChunkedUInt8Array) + ::: geoarrow.rust.core options: @@ -25,16 +25,4 @@ from geospatial operations to maintain strong typing. - "^__arrow" members: - ChunkedBooleanArray - - ChunkedFloat16Array - - ChunkedFloat32Array - ChunkedFloat64Array - - ChunkedUInt8Array - - ChunkedUInt16Array - - ChunkedUInt32Array - - ChunkedUInt64Array - - ChunkedInt8Array - - ChunkedInt16Array - - ChunkedInt32Array - - ChunkedInt64Array - - ChunkedStringArray - - ChunkedLargeStringArray diff --git a/python/core/docs/api/table.md b/python/core/docs/api/table.md index 6d53c138..25f1e0a5 100644 --- a/python/core/docs/api/table.md +++ b/python/core/docs/api/table.md @@ -1,6 +1,6 @@ # GeoTable -::: geoarrow.rust.core.rust +::: geoarrow.rust.core options: filters: - "!^_" diff --git a/python/core/docs/api/types.md b/python/core/docs/api/types.md new file mode 100644 index 00000000..be63ced1 --- /dev/null +++ b/python/core/docs/api/types.md @@ -0,0 +1,3 @@ +# Types + +::: geoarrow.rust.core.types diff --git a/python/core/mkdocs.yml b/python/core/mkdocs.yml index 567a54b7..77bbad13 100644 --- a/python/core/mkdocs.yml +++ b/python/core/mkdocs.yml @@ -22,7 +22,6 @@ extra: nav: - "index.md" - API Reference: - - api/index.md - Geometry Arrays: - api/geometry/array.md - api/geometry/chunked.md @@ -32,12 +31,13 @@ nav: - api/table.md - Operations: api/functions.md - IO: api/io.md + - Types: api/types.md # - Caveats: caveats.md - - Performance: performance.md - - Changelog: CHANGELOG.md - - Alternatives: alternatives.md - - "How it works?": how-it-works.md + # - Performance: performance.md + # - Changelog: CHANGELOG.md + # - Alternatives: alternatives.md + # - "How it works?": how-it-works.md watch: - python diff --git a/python/core/poetry.lock b/python/core/poetry.lock index a25eec47..81bfbf26 100644 --- a/python/core/poetry.lock +++ b/python/core/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. [[package]] name = "appnope" @@ -885,6 +885,35 @@ files = [ [package.dependencies] traitlets = "*" +[[package]] +name = "maturin" +version = "1.4.0" +description = "Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages" +optional = false +python-versions = ">=3.7" +files = [ + {file = "maturin-1.4.0-py3-none-linux_armv6l.whl", hash = "sha256:b84bee85620e1b7b662a7af71289f7f6c23df8269e42c0f76882676dfc9c733f"}, + {file = "maturin-1.4.0-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:076970a73da7fa3648204a584cd347b899c1ea67f8124b212bccd06728e63ed9"}, + {file = "maturin-1.4.0-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:f8eded83abdb30b2b6ae6d32c80b8192bdd8bcfec0ebfacee6ac02434aa499d6"}, + {file = "maturin-1.4.0-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl", hash = "sha256:ff95a4494d9e57b6e74d4d7f8a9a2ee8ed29bd7f0e61855656ad959a432c0efc"}, + {file = "maturin-1.4.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl", hash = "sha256:16239a7648ef17976585353e381840c18e650d352576ed9545abca407d65e534"}, + {file = "maturin-1.4.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:77428c043d585f038f4b056c4d617e00a8027b49598ab6d065b8f6b9b9b8d144"}, + {file = "maturin-1.4.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl", hash = "sha256:b4b2f006db1e92687c814576029157dcc2d97b5750fd35fd4f3aabb97e36444f"}, + {file = "maturin-1.4.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.musllinux_1_1_ppc64le.whl", hash = "sha256:ffe4e967080ceb83c156e73a37d3974b30cad01c376a86dc39a76a0c6bccf9b0"}, + {file = "maturin-1.4.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:01473dc30aed8f2cee3572b3e99e3ea75bf09c84b028bf6077f7643a189699c8"}, + {file = "maturin-1.4.0-py3-none-win32.whl", hash = "sha256:e669ba5984c15e29b8545b295ba6738974180b44f47f5d9e75569a5ce6b8add5"}, + {file = "maturin-1.4.0-py3-none-win_amd64.whl", hash = "sha256:e2c1b157397ef3721b9c2f3f24d9a5a60bd84322aac13b4dd0704a80448741b0"}, + {file = "maturin-1.4.0-py3-none-win_arm64.whl", hash = "sha256:2979175a7eee837dc3a6931980b37ddc86b9ced54d600856668fc074ca2530ef"}, + {file = "maturin-1.4.0.tar.gz", hash = "sha256:ed12e1768094a7adeafc3a74ebdb8dc2201fa64c4e7e31f14cfc70378bf93790"}, +] + +[package.dependencies] +tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} + +[package.extras] +patchelf = ["patchelf"] +zig = ["ziglang (>=0.10.0,<0.11.0)"] + [[package]] name = "mdit-py-plugins" version = "0.4.0" @@ -2035,6 +2064,17 @@ files = [ {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, ] +[[package]] +name = "tomli" +version = "2.0.1" +description = "A lil' TOML parser" +optional = false +python-versions = ">=3.7" +files = [ + {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, + {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, +] + [[package]] name = "tornado" version = "6.4" @@ -2190,4 +2230,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "ad60cf5e1cbfa5aae9c4192ee21d277adce27c3d22eecceab9281a3dcbd1ac29" +content-hash = "75d337a4fd842979e8ecece39db6058ee34c44e13c04381182f433066937a927" diff --git a/python/core/pyproject.toml b/python/core/pyproject.toml index 0dd1ffb7..ed8b6594 100644 --- a/python/core/pyproject.toml +++ b/python/core/pyproject.toml @@ -34,3 +34,7 @@ mkdocstrings = {version = "^0.23.0", extras = ["python"]} mkdocs-jupyter = {version = "^0.24.5", python = "^3.9"} mike = "^2" + +[tool.poetry.group.dev.dependencies] +maturin = "^1.4.0" + diff --git a/python/core/python/geoarrow/rust/core/rust.pyi b/python/core/python/geoarrow/rust/core/rust.pyi index 54884aa1..fc4331c0 100644 --- a/python/core/python/geoarrow/rust/core/rust.pyi +++ b/python/core/python/geoarrow/rust/core/rust.pyi @@ -226,20 +226,20 @@ class BooleanArray: self, requested_schema: object | None = None ) -> Tuple[object, object]: ... -class Float16Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... - def __arrow_c_array__( - self, requested_schema: object | None = None - ) -> Tuple[object, object]: ... - -class Float32Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... - def __arrow_c_array__( - self, requested_schema: object | None = None - ) -> Tuple[object, object]: ... - def to_numpy(self) -> NDArray[np.float32]: ... +# class Float16Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... +# def __arrow_c_array__( +# self, requested_schema: object | None = None +# ) -> Tuple[object, object]: ... + +# class Float32Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... +# def __arrow_c_array__( +# self, requested_schema: object | None = None +# ) -> Tuple[object, object]: ... +# def to_numpy(self) -> NDArray[np.float32]: ... class Float64Array: def __eq__(self, other: Self) -> bool: ... @@ -249,83 +249,83 @@ class Float64Array: ) -> Tuple[object, object]: ... def to_numpy(self) -> NDArray[np.float64]: ... -class Int16Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... - def __arrow_c_array__( - self, requested_schema: object | None = None - ) -> Tuple[object, object]: ... - def to_numpy(self) -> NDArray[np.int16]: ... - -class Int32Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... - def __arrow_c_array__( - self, requested_schema: object | None = None - ) -> Tuple[object, object]: ... - def to_numpy(self) -> NDArray[np.int32]: ... - -class Int64Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... - def __arrow_c_array__( - self, requested_schema: object | None = None - ) -> Tuple[object, object]: ... - def to_numpy(self) -> NDArray[np.int64]: ... - -class Int8Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... - def __arrow_c_array__( - self, requested_schema: object | None = None - ) -> Tuple[object, object]: ... - def to_numpy(self) -> NDArray[np.int8]: ... - -class LargeStringArray: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... - def __arrow_c_array__( - self, requested_schema: object | None = None - ) -> Tuple[object, object]: ... - -class StringArray: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... - def __arrow_c_array__( - self, requested_schema: object | None = None - ) -> Tuple[object, object]: ... - -class UInt16Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... - def __arrow_c_array__( - self, requested_schema: object | None = None - ) -> Tuple[object, object]: ... - def to_numpy(self) -> NDArray[np.uint16]: ... - -class UInt32Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... - def __arrow_c_array__( - self, requested_schema: object | None = None - ) -> Tuple[object, object]: ... - def to_numpy(self) -> NDArray[np.uint32]: ... - -class UInt64Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... - def __arrow_c_array__( - self, requested_schema: object | None = None - ) -> Tuple[object, object]: ... - def to_numpy(self) -> NDArray[np.uint64]: ... - -class UInt8Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... - def __arrow_c_array__( - self, requested_schema: object | None = None - ) -> Tuple[object, object]: ... - def to_numpy(self) -> NDArray[np.uint8]: ... +# class Int16Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... +# def __arrow_c_array__( +# self, requested_schema: object | None = None +# ) -> Tuple[object, object]: ... +# def to_numpy(self) -> NDArray[np.int16]: ... + +# class Int32Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... +# def __arrow_c_array__( +# self, requested_schema: object | None = None +# ) -> Tuple[object, object]: ... +# def to_numpy(self) -> NDArray[np.int32]: ... + +# class Int64Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... +# def __arrow_c_array__( +# self, requested_schema: object | None = None +# ) -> Tuple[object, object]: ... +# def to_numpy(self) -> NDArray[np.int64]: ... + +# class Int8Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... +# def __arrow_c_array__( +# self, requested_schema: object | None = None +# ) -> Tuple[object, object]: ... +# def to_numpy(self) -> NDArray[np.int8]: ... + +# class LargeStringArray: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... +# def __arrow_c_array__( +# self, requested_schema: object | None = None +# ) -> Tuple[object, object]: ... + +# class StringArray: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... +# def __arrow_c_array__( +# self, requested_schema: object | None = None +# ) -> Tuple[object, object]: ... + +# class UInt16Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... +# def __arrow_c_array__( +# self, requested_schema: object | None = None +# ) -> Tuple[object, object]: ... +# def to_numpy(self) -> NDArray[np.uint16]: ... + +# class UInt32Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... +# def __arrow_c_array__( +# self, requested_schema: object | None = None +# ) -> Tuple[object, object]: ... +# def to_numpy(self) -> NDArray[np.uint32]: ... + +# class UInt64Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... +# def __arrow_c_array__( +# self, requested_schema: object | None = None +# ) -> Tuple[object, object]: ... +# def to_numpy(self) -> NDArray[np.uint64]: ... + +# class UInt8Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... +# def __arrow_c_array__( +# self, requested_schema: object | None = None +# ) -> Tuple[object, object]: ... +# def to_numpy(self) -> NDArray[np.uint8]: ... class ChunkedPointArray: def __eq__(self, other: Self) -> bool: ... @@ -491,57 +491,57 @@ class ChunkedBooleanArray: def __eq__(self, other: Self) -> bool: ... def __len__(self) -> int: ... -class ChunkedFloat16Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... +# class ChunkedFloat16Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... -class ChunkedFloat32Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... +# class ChunkedFloat32Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... class ChunkedFloat64Array: def __eq__(self, other: Self) -> bool: ... def __len__(self) -> int: ... -class ChunkedInt16Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... +# class ChunkedInt16Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... -class ChunkedInt32Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... +# class ChunkedInt32Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... -class ChunkedInt64Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... +# class ChunkedInt64Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... -class ChunkedInt8Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... +# class ChunkedInt8Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... -class ChunkedLargeStringArray: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... +# class ChunkedLargeStringArray: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... -class ChunkedStringArray: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... +# class ChunkedStringArray: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... -class ChunkedUInt16Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... +# class ChunkedUInt16Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... -class ChunkedUInt32Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... +# class ChunkedUInt32Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... -class ChunkedUInt64Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... +# class ChunkedUInt64Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... -class ChunkedUInt8Array: - def __eq__(self, other: Self) -> bool: ... - def __len__(self) -> int: ... +# class ChunkedUInt8Array: +# def __eq__(self, other: Self) -> bool: ... +# def __len__(self) -> int: ... class GeoTable: def __eq__(self, other: Self) -> bool: ... diff --git a/python/core/src/ffi/to_python.rs b/python/core/src/ffi/to_python.rs index acb3a38f..cc096595 100644 --- a/python/core/src/ffi/to_python.rs +++ b/python/core/src/ffi/to_python.rs @@ -24,8 +24,8 @@ macro_rules! impl_arrow_c_array_geometry_array { /// This dunder method is not expected to be called directly, but enables zero-copy /// data transfer to other Python libraries that understand Arrow memory. /// - /// For example, you can call `pyarrow.array()` to convert this array into a pyarrow - /// array, without copying memory. + /// For example, you can call [`pyarrow.array()`][pyarrow.array] to convert this array + /// into a pyarrow array, without copying memory. fn __arrow_c_array__( &self, _requested_schema: Option, @@ -143,8 +143,8 @@ macro_rules! impl_arrow_c_array_primitive { /// This dunder method is not expected to be called directly, but enables zero-copy /// data transfer to other Python libraries that understand Arrow memory. /// - /// For example, you can call `pyarrow.array()` to convert this array into a pyarrow - /// array, without copying memory. + /// For example, you can call [`pyarrow.array()`][pyarrow.array] to convert this array + /// into a pyarrow array, without copying memory. fn __arrow_c_array__( &self, _requested_schema: Option, diff --git a/python/core/src/lib.rs b/python/core/src/lib.rs index 94f14e81..874715c2 100644 --- a/python/core/src/lib.rs +++ b/python/core/src/lib.rs @@ -24,19 +24,19 @@ fn rust(_py: Python, m: &PyModule) -> PyResult<()> { // Primitive arrays m.add_class::()?; - m.add_class::()?; - m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; m.add_class::()?; - m.add_class::()?; - m.add_class::()?; - m.add_class::()?; - m.add_class::()?; - m.add_class::()?; - m.add_class::()?; - m.add_class::()?; - m.add_class::()?; - m.add_class::()?; - m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; // Chunked geometry arrays m.add_class::()?; @@ -51,19 +51,19 @@ fn rust(_py: Python, m: &PyModule) -> PyResult<()> { // Chunked primitive arrays m.add_class::()?; - m.add_class::()?; - m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; m.add_class::()?; - m.add_class::()?; - m.add_class::()?; - m.add_class::()?; - m.add_class::()?; - m.add_class::()?; - m.add_class::()?; - m.add_class::()?; - m.add_class::()?; - m.add_class::()?; - m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; + // m.add_class::()?; // Table m.add_class::()?;