Skip to content

Commit

Permalink
fix for createEnum type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
jswhit2 committed Oct 30, 2024
1 parent d203d8b commit 58f8c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netCDF4/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ class Dataset:
def createVLType(self, datatype: npt.DTypeLike, datatype_name: str) -> VLType: ...
def createEnumType(
self,
datatype: np.dtype[np.integer] | type[np.integer] | type[int],
datatype: np.dtype[np.integer] | type[np.integer] | type[int] | str,
datatype_name: str,
enum_dict: Mapping[str, int | np.integer],
) -> EnumType: ...
Expand Down

0 comments on commit 58f8c6a

Please sign in to comment.