mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-01 16:51:53 +00:00
![David Robertson](/assets/img/avatar_default.png)
* Lockfile: update canonicaljson 1.6.0 -> 1.6.3 * Fix mypy errors with latest canonicaljson The change to `_encode_json_bytes` definition wasn't sufficient: ``` synapse/http/server.py:751: error: Incompatible types in assignment (expression has type "Callable[[Arg(object, 'json_object')], bytes]", variable has type "Callable[[Arg(object, 'data')], bytes]") [assignment] ``` Which I think is mypy warning us that the two functions accept different sets of kwargs. Fair enough! * Changelog
2 lines
42 B
Plaintext
2 lines
42 B
Plaintext
Fix mypy errors with canonicaljson 1.6.3.
|