Page MenuHomeSoftware Heritage

Declare ArchiveInterface and ProvenanceInterface as Protocol
ClosedPublic

Authored by douardda on Feb 16 2021, 3:44 PM.

Details

Summary

and add missing type annotations here and there.

Depends on D5073

Diff Detail

Repository
rDPROV Provenance database
Branch
refactorings
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 19357
Build 30015: arc lint + arc unit

Event Timeline

douardda created this revision.
aeviso added a subscriber: aeviso.

I guess this is the correct way to define interfaces in Python. I don't get way ArchiveStorage doesn't inherit from ArchiveInterface though.

This revision is now accepted and ready to land.Feb 18 2021, 2:05 PM