Skip to content

Commit 5d6fe05

Browse files
committed
fix: bring back GetResult
1 parent f879470 commit 5d6fe05

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/zarr/abc/codec.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from abc import abstractmethod
44
from collections.abc import Mapping
5-
from typing import TYPE_CHECKING, Protocol, TypeGuard, runtime_checkable
5+
from typing import TYPE_CHECKING, Literal, Protocol, TypeGuard, runtime_checkable
66

77
from typing_extensions import ReadOnly, TypedDict
88

@@ -36,6 +36,13 @@
3636
"SupportsSyncCodec",
3737
]
3838

39+
40+
class GetResult(TypedDict):
41+
"""Metadata about a store get operation."""
42+
43+
status: Literal["present", "missing"]
44+
45+
3946
type CodecInput = NDBuffer | Buffer
4047
type CodecOutput = NDBuffer | Buffer
4148

0 commit comments

Comments
 (0)