Skip to content

Commit

Permalink
Update _typing.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan committed Sep 2, 2024
1 parent d05791c commit 5fccd5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xarray/namedarray/_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,9 @@ def __getitem__(

def __array_namespace__(self) -> ModuleType: ...

def to_device(self, device: _Device, /, stream: None = None) -> Self: ...
def to_device(
self, device: _Device, /, stream: None = None
) -> _arrayapi[_ShapeType_co, _DType_co]: ...

@property
def device(self) -> _Device: ...
Expand Down

0 comments on commit 5fccd5f

Please sign in to comment.