Add @disjoint_base decorator to the third-party stubs (#14716)

This commit is contained in:
Brian Schubert
2025-09-15 02:16:16 +02:00
committed by GitHub
parent 0d100b9110
commit 47dbbd6c91
27 changed files with 110 additions and 24 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
from typing import Literal, SupportsIndex, final, overload
from typing_extensions import Never, Self
from typing_extensions import Never, Self, disjoint_base
import numpy as np
from numpy.typing import NDArray
@@ -142,6 +142,7 @@ geos_version: tuple[int, int, int]
geos_version_string: str
registry: list[type[Geometry]]
@disjoint_base
class Geometry:
def __hash__(self) -> int: ...
def __eq__(self, other: object, /) -> bool: ...