MatrixSynapse/synapse/http
David Robertson dcdd50e458
Fix mypy errors with latest canonicaljson (#13905)
* 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
2022-09-26 13:30:00 +01:00
..
federation
__init__.py
additional_resource.py
client.py
connectproxyclient.py
matrixfederationclient.py
proxyagent.py Fix access token leak to logs from proxyagent (#13855) 2022-09-23 11:49:39 -05:00
request_metrics.py
server.py Fix mypy errors with latest canonicaljson (#13905) 2022-09-26 13:30:00 +01:00
servlet.py
site.py Be able to correlate timeouts in reverse-proxy layer in front of Synapse (pull request ID from header) (#13801) 2022-09-15 15:32:25 -05:00
types.py