Skip to content

Commit

Permalink
Remove kwarg in dict default
Browse files Browse the repository at this point in the history
  • Loading branch information
ghidalgo3 committed Jul 22, 2024
1 parent ab97e63 commit 0be0728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtualizarr/zarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __post_init__(self) -> None:
@model_validator(mode="after")
def _check_fill_value(self) -> Self:
if self.fill_value is None:
self.fill_value = ZARR_DEFAULT_FILL_VALUE.get(self.dtype, default=0.0)
self.fill_value = ZARR_DEFAULT_FILL_VALUE.get(self.dtype, 0.0)
return self

@property
Expand Down

0 comments on commit 0be0728

Please sign in to comment.