Closed rly closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 79.43%. Comparing base (
5922b4f
) to head (4fdab5f
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Nice catch!
FYI I released this on PyPI as 0.3.8.
MutableMapping
implements__contains__
by calling__getitem__
and checking for None. ZarrBaseStore
has this line: https://github.com/zarr-developers/zarr-python/blob/b1f4c509abaee1cb8dec18e3a973e1199226011a/src/zarr/v2/_storage/store.py#L142which does a both
__contains__
check and__getitem__
check. That results in two remote requests per__getitem__
call inLindiReferenceFileSystemStore
.This PR removes the remote request for
__contains__
.