ome-zarr-py
ome-zarr-py copied to clipboard
Isn't `version` a `str`?
In the following code, the type hint for version
is str
. Yet, the code has been modified to handle floats too (#189).
Should the type hint be changed from str
to str | float
?
https://github.com/ome/ome-zarr-py/blob/6a1de2a0924e821fecec7ac3ba8790c0a3ae234f/ome_zarr/format.py#L12-L16