Skip to content

Commit

Permalink
fix type of chunksizes
Browse files Browse the repository at this point in the history
  • Loading branch information
headtr1ck committed Jun 7, 2024
1 parent 17616b0 commit 4bdf621
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/netCDF4/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class Dataset:

def filepath(self, encoding: str | None = None) -> str: ...
def isopen(self) -> bool: ...
def close(self) -> None: ...
def close(self) -> memoryview: ... # only if writing and memory != None, but otherwise people ignore the return None anyway
def sync(self) -> None: ...
def set_fill_on(self) -> None: ...
def set_fill_off(self) -> None: ...
Expand Down Expand Up @@ -241,7 +241,7 @@ class Variable:
blosc_shuffle: Literal[0, 1, 2] = 1,
fletcher32: bool = False,
contiguous: bool = False,
chunksizes: int | None = None,
chunksizes: Sequence[int] | None = None,
endian: EndianOptions = 'native',
least_significant_digit: int | None = None,
significant_digits: int | None = None,
Expand Down Expand Up @@ -352,7 +352,7 @@ class EnumType:
dt: npt.DTypeLike,
dtype_name: str,
enum_dict: Mapping[str, int],
**kwargs
**kwargs: Any
) -> None: ...

def __str__(self) -> str: ...
Expand Down

0 comments on commit 4bdf621

Please sign in to comment.