File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ def __init__(self, **codec_config: JSON) -> None:
281
281
282
282
def resolve_metadata (self , chunk_spec : ArraySpec ) -> ArraySpec :
283
283
if astype := self .codec_config .get ("astype" ):
284
- return replace (chunk_spec , dtype = np .dtype (astype ))
284
+ return replace (chunk_spec , dtype = np .dtype (astype )) # type: ignore[arg-type]
285
285
return chunk_spec
286
286
287
287
def evolve_from_array_spec (self , array_spec : ArraySpec ) -> FixedScaleOffset :
@@ -330,7 +330,7 @@ def __init__(self, **codec_config: JSON) -> None:
330
330
super ().__init__ (** codec_config )
331
331
332
332
def resolve_metadata (self , chunk_spec : ArraySpec ) -> ArraySpec :
333
- return replace (chunk_spec , dtype = np .dtype (self .codec_config ["encode_dtype" ]))
333
+ return replace (chunk_spec , dtype = np .dtype (self .codec_config ["encode_dtype" ])) # type: ignore[arg-type]
334
334
335
335
def evolve_from_array_spec (self , array_spec : ArraySpec ) -> AsType :
336
336
decode_dtype = self .codec_config .get ("decode_dtype" )
You can’t perform that action at this time.
0 commit comments