Skip to content

Commit bf4589d

Browse files
maxrjonesd-v-b
andcommitted
Fix typing for LoggingStore
Co-authored-by: Davis Bennett <[email protected]>
1 parent 48abe94 commit bf4589d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zarr/storage/_logging.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
T_Store = TypeVar("T_Store", bound=Store)
2323

2424

25-
class LoggingStore(WrapperStore[Store]):
25+
class LoggingStore(WrapperStore[T_Store]):
2626
"""
2727
Store wrapper that logs all calls to the wrapped store.
2828
@@ -45,7 +45,7 @@ class LoggingStore(WrapperStore[Store]):
4545

4646
def __init__(
4747
self,
48-
store: Store,
48+
store: T_Store,
4949
log_level: str = "DEBUG",
5050
log_handler: logging.Handler | None = None,
5151
) -> None:

0 commit comments

Comments
 (0)