The class docstring for FetcherInterface needed to clearly state that
only _fetch() had to be implemented in it's implementation. This is
because the public API of the interface is implemented already.

Signed-off-by: Abhisman Sarkar <abhisman.sarkar@gmail.com>
This commit is contained in:
Abhisman Sarkar 2022-05-09 23:09:58 +05:30
parent c5ca38f0ae
commit 4a2fdabc2d
2 changed files with 4 additions and 0 deletions

View file

@ -3,3 +3,4 @@ Fetcher
.. automodule:: tuf.ngclient.fetcher
:undoc-members:
:private-members: _fetch

View file

@ -23,6 +23,9 @@ class FetcherInterface:
By providing a concrete implementation of the abstract interface,
users of the framework can plug-in their preferred/customized
network stack.
Implementations of FetcherInterface only need to implement ``_fetch()``.
The public API of the class is already implemented.
"""
__metaclass__ = abc.ABCMeta