Formatting
This commit is contained in:
parent
a891ad4689
commit
c7d8f11e0c
1 changed files with 87 additions and 58 deletions
|
|
@ -154,7 +154,8 @@ class BaseSession(
|
|||
|
||||
try:
|
||||
with anyio.fail_after(
|
||||
None if self._read_timeout_seconds is None
|
||||
None
|
||||
if self._read_timeout_seconds is None
|
||||
else self._read_timeout_seconds.total_seconds()
|
||||
):
|
||||
response_or_error = await response_stream_reader.receive()
|
||||
|
|
@ -168,7 +169,6 @@ class BaseSession(
|
|||
f"{self._read_timeout_seconds} seconds."
|
||||
),
|
||||
)
|
||||
|
||||
)
|
||||
|
||||
if isinstance(response_or_error, JSONRPCError):
|
||||
|
|
|
|||
Loading…
Reference in a new issue