HomeSoftware Heritage

Add type annotation for JournalWriter related code

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

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.

Details

Provenance
douarddaAuthored on Jun 2 2022, 5:17 PM
douarddaPushed on Jun 7 2022, 11:55 AM
Differential Revision
D7952: Add type annotation for JournalWriter related code
Build Status
Buildable 29776
Build 46536: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.