You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/tmp/echo2.py:4: error: "BaseTransport" has no attribute "get_write_buffer_size"
/tmp/echo2.py:6: error: "BaseTransport" has no attribute "get_write_buffer_size"
According to asyncio docs, a WriteTransport has a get_write_buffer_size() method, and guessing from the names of things, I think writer.transport should always be a WriteTransport.
The text was updated successfully, but these errors were encountered:
This works at runtime:
but doesn't type check:
According to asyncio docs, a
WriteTransport
has aget_write_buffer_size()
method, and guessing from the names of things, I thinkwriter.transport
should always be aWriteTransport
.The text was updated successfully, but these errors were encountered: