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 77from zarr .core .buffer .core import default_buffer_prototype
88
99if TYPE_CHECKING :
10- from typing import Self
10+ from typing import Callable , Self
1111
1212 from zarr .core .buffer import Buffer , BufferPrototype
1313 from zarr .core .chunk_grids import ChunkGrid
@@ -137,14 +137,14 @@ class V3JsonEncoder(json.JSONEncoder):
137137 def __init__ (
138138 self ,
139139 * ,
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 [[ object ], object ] | None = None ,
148148 ) -> None :
149149 if indent is None :
150150 indent = config .get ("json_indent" )
You can’t perform that action at this time.
0 commit comments