167167 T_Chunks ,
168168 T_DatasetPadConstantValues ,
169169 T_Xarray ,
170+ ZarrStoreLike ,
170171 )
171172 from xarray .groupers import Grouper , Resampler
172173 from xarray .namedarray .parallelcompat import ChunkManagerEntrypoint
@@ -2120,7 +2121,7 @@ def to_netcdf(
21202121 @overload
21212122 def to_zarr (
21222123 self ,
2123- store : MutableMapping | str | PathLike [ str ] | None = None ,
2124+ store : ZarrStoreLike | None = None ,
21242125 chunk_store : MutableMapping | str | PathLike | None = None ,
21252126 mode : ZarrWriteModes | None = None ,
21262127 synchronizer = None ,
@@ -2144,7 +2145,7 @@ def to_zarr(
21442145 @overload
21452146 def to_zarr (
21462147 self ,
2147- store : MutableMapping | str | PathLike [ str ] | None = None ,
2148+ store : ZarrStoreLike | None = None ,
21482149 chunk_store : MutableMapping | str | PathLike | None = None ,
21492150 mode : ZarrWriteModes | None = None ,
21502151 synchronizer = None ,
@@ -2166,7 +2167,7 @@ def to_zarr(
21662167
21672168 def to_zarr (
21682169 self ,
2169- store : MutableMapping | str | PathLike [ str ] | None = None ,
2170+ store : ZarrStoreLike | None = None ,
21702171 chunk_store : MutableMapping | str | PathLike | None = None ,
21712172 mode : ZarrWriteModes | None = None ,
21722173 synchronizer = None ,
@@ -2203,7 +2204,7 @@ def to_zarr(
22032204
22042205 Parameters
22052206 ----------
2206- store : MutableMapping, str or path-like , optional
2207+ store : zarr.storage.StoreLike , optional
22072208 Store or path to directory in local or remote file system.
22082209 chunk_store : MutableMapping, str or path-like, optional
22092210 Store or path to directory in local or remote file system only for Zarr
0 commit comments