Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
clnoll committed Jan 28, 2024
1 parent 85f2c3c commit fbce5ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def read_records(
yield from self._read_records()
except Exception as exc:
if hasattr(self._cursor, "state"):
state = self._cursor.state
state = str(self._cursor.state)
else:
# This shouldn't happen if the ConcurrentCursor was used
state = "unknown; no state attribute was available on the cursor"
Expand Down

0 comments on commit fbce5ce

Please sign in to comment.