mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-02 22:18:28 +08:00
Update mypy to 1.18.1 (#14699)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from typing import Literal, SupportsIndex, final, overload
|
||||
from typing_extensions import Never
|
||||
from typing_extensions import Never, Self
|
||||
|
||||
import numpy as np
|
||||
from numpy.typing import NDArray
|
||||
@@ -154,7 +154,7 @@ class Geometry:
|
||||
@final
|
||||
class STRtree:
|
||||
count: int
|
||||
def __init__(self, geoms: NDArray[np.object_], node_capacity: SupportsIndex, /, **kwargs: object) -> None: ...
|
||||
def __new__(cls, geoms: NDArray[np.object_], node_capacity: SupportsIndex, /, **kwargs: object) -> Self: ...
|
||||
def dwithin(self, geoms: NDArray[np.object_], distances: NDArray[np.float64], /) -> NDArray[np.int64]: ...
|
||||
def nearest(self, geoms: NDArray[np.object_], /) -> NDArray[np.int64]: ...
|
||||
def query(self, geoms: NDArray[np.object_], predicate: SupportsIndex, /) -> NDArray[np.int64]: ...
|
||||
|
||||
Reference in New Issue
Block a user