Skip to content

Commit

Permalink
Keyword argument defined before variable positional arguments (#2321)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos authored Oct 9, 2024
1 parent aa46b45 commit 2e1ee2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zarr/abc/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Store(ABC):
_mode: AccessMode
_is_open: bool

def __init__(self, mode: AccessModeLiteral = "r", *args: Any, **kwargs: Any) -> None:
def __init__(self, *args: Any, mode: AccessModeLiteral = "r", **kwargs: Any) -> None:
self._is_open = False
self._mode = AccessMode.from_literal(mode)

Expand Down

0 comments on commit 2e1ee2f

Please sign in to comment.