Commit Graph

22 Commits

Author SHA1 Message Date
Jahongir Qurbonov
86d41e1f06 [V2] Upgrade ruff and mypy version, format files (#4474) 2024-10-06 20:05:11 +02:00
Lonami Exo
8267f5d590 Use modern typehint syntax 2024-03-17 13:06:03 +01:00
Lonami Exo
033b56f1d3 Make pyright happy 2024-03-16 19:20:01 +01:00
Lonami Exo
3250f9ec37 Unify the way deserialization is returned 2024-03-16 15:00:38 +01:00
Lonami Exo
c7d1a36969 Return serialized container MsgId on finalize 2024-03-16 14:06:12 +01:00
Lonami Exo
fa693d068a Fix invalid escape sequences in docstrings 2024-03-01 20:51:25 +01:00
Lonami Exo
e1983b80c2 Treat messages.affected* as updateDeleteMessages 2023-11-08 23:03:24 +01:00
Lonami Exo
2def0a169c Continue documentation and matching documented behaviour 2023-11-02 00:45:11 +01:00
Lonami Exo
6e88264b28 Support custom connectors 2023-10-29 21:45:21 +01:00
Lonami Exo
c91ce98a25 Fix handling of salts and container buffer 2023-10-14 01:21:33 +02:00
Lonami Exo
b31f4fe063 Use logger 2023-10-12 21:10:00 +02:00
Lonami Exo
7fabf7da0a Continue documentation and reducing public API 2023-10-08 15:07:39 +02:00
Lonami Exo
5f4470dd57 Fix step could complete all at once 2023-09-17 22:53:52 +02:00
Lonami Exo
5376905e3d Address type checks 2023-09-13 19:39:01 +02:00
Lonami Exo
4b2d252fe1 Significantly clean-up imports
Sure wish I would've automated this.
2023-09-02 23:19:04 +02:00
Lonami Exo
2e1321b6c9 Remove enqueuer abstraction from sender
Unnecessary complexity since Python lacks exclusive ownership.
2023-09-01 11:57:41 +02:00
Lonami Exo
fb4503338d Add disconnect method to sender
Unlike Rust, there's no implicit dropping of connections.
2023-09-01 11:46:49 +02:00
Lonami Exo
7c112d8b0f Fix typing issues 2023-08-31 13:32:57 +02:00
Lonami Exo
60ed7a32fe Use proper error types in mtp 2023-08-31 13:23:30 +02:00
Lonami Exo
7166059132 Fix mtsender enqueuer and complete test 2023-08-31 12:27:43 +02:00
Lonami Exo
4078243dad Fix some typing issues in tests 2023-08-31 10:54:50 +02:00
Lonami Exo
53ea35e0d5 Initial implementation of mtsender 2023-08-31 10:48:59 +02:00