Message411777
Technically it should not provide the method according to the current design.
get_write_buffer_limits() is not a part of public transports API, this method is defined by private class _FlowControlMixin only.
WriteTransport requires only get_write_buffer_size() and set_write_buffer_limits() *setter* but not get_write_buffer_limits() getter.
I agree, looks weird.
The best solution maybe is adding get_write_buffer_limits() to WriteTransport definition and documenting the change.
Would you prepare a pull request? I'm happy to review/merge it. |
|
Date |
User |
Action |
Args |
2022-01-26 17:03:13 | asvetlov | set | recipients:
+ asvetlov, yselivanov, mooncell07 |
2022-01-26 17:03:13 | asvetlov | set | messageid: <1643216593.34.0.088898330656.issue46487@roundup.psfhosted.org> |
2022-01-26 17:03:13 | asvetlov | link | issue46487 messages |
2022-01-26 17:03:13 | asvetlov | create | |
|