File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
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 collections .abc import Callable
1011 from typing import Self
1112
1213 from zarr .core .buffer import Buffer , BufferPrototype
@@ -137,14 +138,14 @@ class V3JsonEncoder(json.JSONEncoder):
137138 def __init__ (
138139 self ,
139140 * ,
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 ,
141+ skipkeys : bool = False ,
142+ ensure_ascii : bool = True ,
143+ check_circular : bool = True ,
144+ allow_nan : bool = True ,
145+ sort_keys : bool = False ,
146+ indent : int | None = None ,
147+ separators : tuple [ str , str ] | None = None ,
148+ default : Callable [[ object ], object ] | None = None ,
148149 ) -> None :
149150 if indent is None :
150151 indent = config .get ("json_indent" )
You can’t perform that action at this time.
0 commit comments