Skip to content
Snippets Groups Projects
  1. Sep 26, 2022
    • David Robertson's avatar
      Fix mypy errors with latest canonicaljson (#13905) · dcdd50e4
      David Robertson authored
      * 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
      Unverified
      dcdd50e4
  2. Sep 23, 2022
  3. Sep 22, 2022
  4. Sep 21, 2022
  5. Sep 20, 2022
  6. Sep 16, 2022
Loading