File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 7
7
from zarr .core .buffer .core import default_buffer_prototype
8
8
9
9
if TYPE_CHECKING :
10
- from typing import Self
10
+ from typing import Callable , Self
11
11
12
12
from zarr .core .buffer import Buffer , BufferPrototype
13
13
from zarr .core .chunk_grids import ChunkGrid
@@ -137,14 +137,14 @@ class V3JsonEncoder(json.JSONEncoder):
137
137
def __init__ (
138
138
self ,
139
139
* ,
140
- skipkeys = False ,
141
- ensure_ascii = True ,
142
- check_circular = True ,
143
- allow_nan = True ,
144
- sort_keys = False ,
145
- indent = None ,
146
- separators = None ,
147
- default = None ,
140
+ skipkeys : bool = False ,
141
+ ensure_ascii : bool = True ,
142
+ check_circular : bool = True ,
143
+ allow_nan : bool = True ,
144
+ sort_keys : bool = False ,
145
+ indent : int | None = None ,
146
+ separators : tuple [ str , str ] | None = None ,
147
+ default : Callable | None = None ,
148
148
) -> None :
149
149
if indent is None :
150
150
indent = config .get ("json_indent" )
You can’t perform that action at this time.
0 commit comments