Merge pull request #2002 from abs007/patch-1916

Appending Fetcher docs to state the method to be implemented.
This commit is contained in:
Jussi Kukkonen 2022-05-31 15:17:52 +03:00 committed by GitHub
commit 46979bb46d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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