Closed sgreenbury closed 1 year ago
5b58cce90559c8e1b1544310cd95db0f1bca7cbc updates FileBackend
to explicitly inherit Backend
. It appears previously FileBackend
was a virtual base class of Backend
(see here, to confirm). The documentation on Protocol
implies we're doing static duck-typing.
Next step: check whether explicitly inheriting Backend
is also correct.
Closes with #32.
class Backend(Protocol)
is functioning as expected (as an interface)