Skip to content

Commit 1d8bf27

Browse files
committed
Make default description coordinates 'auto'
1 parent 959a7da commit 1d8bf27

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

data_prototype/description.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Desc:
1717
# We are probably going to have to implement a DSL for this (😞)
1818
shape: ShapeSpec
1919
dtype: np.dtype
20-
coordinates: str = "naive"
20+
coordinates: str = "auto"
2121

2222
@staticmethod
2323
def validate_shapes(
@@ -123,6 +123,8 @@ def compatible(a: dict[str, "Desc"], b: dict[str, "Desc"]) -> bool:
123123

124124
@overload
125125
def desc_like(desc: Desc, shape=None, dtype=None, coordinates=None) -> Desc: ...
126+
127+
126128
@overload
127129
def desc_like(
128130
desc: dict[str, Desc], shape=None, dtype=None, coordinates=None

0 commit comments

Comments
 (0)