Skip to content

Commit 1dbc255

Browse files
committed
#225 Ignore return type of get_dataclass
1 parent a39f507 commit 1dbc255

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray_dataclasses/typing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ def get_dataclass(tp: Any) -> Type[DataClass[Any]]:
297297
if not is_dataclass(dataclass):
298298
raise TypeError(f"Could not find any dataclass in {tp!r}.")
299299

300-
return dataclass
300+
return dataclass # type: ignore
301301

302302

303303
def get_dims(tp: Any) -> Dims:

0 commit comments

Comments
 (0)