Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions distributed/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,10 @@
str
The status
"""
return self._state.status
if self._state:
return self._state.status
else:
return None

Check warning on line 361 in distributed/client.py

View check run for this annotation

Codecov / codecov/patch

distributed/client.py#L361

Added line #L361 was not covered by tests

def done(self):
"""Returns whether or not the computation completed.
Expand Down Expand Up @@ -554,7 +557,10 @@
@property
def type(self):
"""Returns the type"""
return self._state.type
if self._state:
return self._state.type
else:
return None

Check warning on line 563 in distributed/client.py

View check run for this annotation

Codecov / codecov/patch

distributed/client.py#L563

Added line #L563 was not covered by tests

def release(self):
"""
Expand Down
Loading