Add pyogrio stubs #36831
tests.yml
on: pull_request
Check typeshed structure
10s
mypy: Run test cases
4m 38s
stub_uploader tests
4m 11s
Matrix: mypy: Check stubs
Matrix: pyright: Run test cases
Annotations
16 errors
|
|
|
pyright: Run test cases (Linux, 3.13):
stubs/pyogrio/pyogrio/raw.pyi#L139
Type of "RecordBatchReader" is unknown (reportUnknownMemberType)
|
|
pyright: Run test cases (Linux, 3.13):
stubs/pyogrio/pyogrio/raw.pyi#L91
Type of "Table" is unknown (reportUnknownMemberType)
|
|
pyright: Run test cases (Linux, 3.13):
stubs/pyogrio/pyogrio/__init__.pyi#L20
Type of "read_arrow" is partially unknown
Type of "read_arrow" is "(path_or_buffer: str | Path | bytes | SupportsRead[bytes], /, layer: int | str | None = None, encoding: str | None = None, columns: Collection[str] | None = None, read_geometry: builtins.bool = True, force_2d: builtins.bool = False, skip_features: int = 0, max_features: int | None = None, where: str | None = None, bbox: tuple[float, float, float, float] | None = None, mask: Geometry | None = None, fids: SupportsArray[numpy.bool[builtins.bool] | integer[Any]] | Collection[int] | int | None = None, sql: str | None = None, sql_dialect: str | None = None, return_fids: builtins.bool = False, datetime_as_string: builtins.bool = False, *, batch_size: int = 65536, **kwargs: Any) -> tuple[_Meta, Unknown]" (reportUnknownVariableType)
|
|
pyright: Run test cases (Linux, 3.13):
stubs/pyogrio/pyogrio/__init__.pyi#L20
Type of "open_arrow" is partially unknown
Type of "open_arrow" is "Overload[(path_or_buffer: str | Path | bytes | SupportsRead[bytes], /, layer: int | str | None = None, encoding: str | None = None, columns: Collection[str] | None = None, read_geometry: builtins.bool = True, force_2d: builtins.bool = False, skip_features: int = 0, max_features: int | None = None, where: str | None = None, bbox: tuple[float, float, float, float] | None = None, mask: Geometry | None = None, fids: SupportsArray[numpy.bool[builtins.bool] | integer[Any]] | Collection[int] | int | None = None, sql: str | None = None, sql_dialect: str | None = None, return_fids: builtins.bool = False, batch_size: int = 65536, use_pyarrow: Literal[False] = False, datetime_as_string: builtins.bool = False, **kwargs: Any) -> AbstractContextManager[tuple[_Meta, SupportsArrowCStream], builtins.bool | None], (path_or_buffer: str | Path | bytes | SupportsRead[bytes], /, layer: int | str | None = None, encoding: str | None = None, columns: Collection[str] | None = None, read_geometry: builtins.bool = True, force_2d: builtins.bool = False, skip_features: int = 0, max_features: int | None = None, where: str | None = None, bbox: tuple[float, float, float, float] | None = None, mask: Geometry | None = None, fids: SupportsArray[numpy.bool[builtins.bool] | integer[Any]] | Collection[int] | int | None = None, sql: str | None = None, sql_dialect: str | None = None, return_fids: builtins.bool = False, batch_size: int = 65536, *, use_pyarrow: Literal[True], datetime_as_string: builtins.bool = False, **kwargs: Any) -> AbstractContextManager[tuple[_Meta, Unknown], builtins.bool | None]]" (reportUnknownVariableType)
|
|
pyright: Run test cases (Windows, 3.13)
Exit code 1
|
|
pyright: Run test cases (Darwin, 3.13)
Exit code 1
|
|
pyright: Run test cases (Windows, 3.11)
Exit code 1
|
|
pyright: Run test cases (Linux, 3.12)
Exit code 1
|
|
pyright: Run test cases (Darwin, 3.14)
Exit code 1
|
|
pyright: Run test cases (Darwin, 3.12)
Exit code 1
|
|
pyright: Run test cases (Windows, 3.14)
Exit code 1
|
|
pyright: Run test cases (Linux, 3.14)
Exit code 1
|
|
pyright: Run test cases (Windows, 3.12)
Exit code 1
|
|
pyright: Run test cases (Darwin, 3.11)
Exit code 1
|
|
pyright: Run test cases (Linux, 3.11)
Exit code 1
|