Skip to content

Commit 0ac17cc

Browse files
committed
typing fixup
1 parent 8fdb605 commit 0ac17cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zarr/core/attributes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
from collections.abc import Mapping, MutableMapping
3+
from collections.abc import MutableMapping
44
from typing import TYPE_CHECKING
55

66
from zarr.core.common import JSON
@@ -36,7 +36,7 @@ def __iter__(self) -> Iterator[str]:
3636
def __len__(self) -> int:
3737
return len(self._obj.metadata.attributes)
3838

39-
def put(self, d: Mapping[str, JSON]) -> None:
39+
def put(self, d: dict[str, JSON]) -> None:
4040
"""
4141
Overwrite all attributes with the values from `d`.
4242

0 commit comments

Comments
 (0)