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:
281281
282282 def resolve_metadata (self , chunk_spec : ArraySpec ) -> ArraySpec :
283283 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]
285285 return chunk_spec
286286
287287 def evolve_from_array_spec (self , array_spec : ArraySpec ) -> FixedScaleOffset :
@@ -330,7 +330,7 @@ def __init__(self, **codec_config: JSON) -> None:
330330 super ().__init__ (** codec_config )
331331
332332 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]
334334
335335 def evolve_from_array_spec (self , array_spec : ArraySpec ) -> AsType :
336336 decode_dtype = self .codec_config .get ("decode_dtype" )
You can’t perform that action at this time.
0 commit comments