Skip to content

Commit ca79210

Browse files
committed
API: make the query inputs positional only
This way implementers can pick a shorter name than "coord_transform".
1 parent 339bc85 commit ca79210

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

data_prototype/containers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class Desc:
3434
class DataContainer(Protocol):
3535
def query(
3636
self,
37+
/,
3738
# TODO 3D?!!
3839
coord_transform: _MatplotlibTransform,
3940
size: Tuple[int, int],

0 commit comments

Comments
 (0)