Skip to content
Snippets Groups Projects
Commit 903f8e60 authored by David Douard's avatar David Douard
Browse files

Add type annotation for JournalWriter related code

- add a JournalWriterInterface in a new interface.py module,
- add a flush() method to this interface,
- remove (now unused) write_update methods,
- move all type-related code in this module,
- fix InMemoryJournalWriter type annotations,
- remove usage of the TValue TypeVar in favor of using ValueProtocol
  directly.
parent 908f0154
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment