Skip to content
Snippets Groups Projects
  1. Apr 17, 2020
    • Richard van der Hoff's avatar
      Improve type checking in `replication.tcp.Stream` (#7291) · 67ff7b8b
      Richard van der Hoff authored
      The general idea here is to get rid of the type: ignore annotations on all of the current_token and update_function assignments, which would have caught #7290.
      
      After a bit of experimentation, it seems like the least-awful way to do this is to pass the offending functions in as parameters to the Stream constructor. Unfortunately that means that the concrete implementations no longer have the same constructor signature as Stream itself, which means that it gets hard to correctly annotate STREAMS_MAP.
      
      I've also introduced a couple of new types, to take out some duplication.
      67ff7b8b
    • Tristan Lins's avatar
  2. Apr 16, 2020
  3. Apr 15, 2020
  4. Apr 14, 2020
  5. Apr 13, 2020
  6. Apr 11, 2020
  7. Apr 09, 2020
  8. Apr 08, 2020
  9. Apr 07, 2020
  10. Apr 06, 2020
Loading