There was an error while loading. Please reload this page.
geometry.DEFAULT_PRECISION
Literal[6]
int
1 parent eea32d0 commit 1483bcaCopy full SHA for 1483bca
1 file changed
stubs/geojson/geojson/geometry.pyi
@@ -1,13 +1,13 @@
1
from collections.abc import Sequence
2
from decimal import Decimal
3
-from typing import Literal, TypeAlias
+from typing import TypeAlias
4
5
from geojson.base import GeoJSON
6
7
_InputCoord: TypeAlias = float | Decimal | Geometry | Sequence[_InputCoord]
8
_CleanCoord: TypeAlias = float | Decimal | list[_CleanCoord]
9
10
-DEFAULT_PRECISION: Literal[6]
+DEFAULT_PRECISION: int
11
12
class Geometry(GeoJSON):
13
def __init__(
0 commit comments