Skip to content

Commit 46979bb

Browse files
author
Jussi Kukkonen
authored
Merge pull request #2002 from abs007/patch-1916
Appending Fetcher docs to state the method to be implemented.
2 parents e78b1aa + 4a2fdab commit 46979bb

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

docs/api/tuf.ngclient.fetcher.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ Fetcher
33

44
.. automodule:: tuf.ngclient.fetcher
55
:undoc-members:
6+
:private-members: _fetch

tuf/ngclient/fetcher.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ class FetcherInterface:
2323
By providing a concrete implementation of the abstract interface,
2424
users of the framework can plug-in their preferred/customized
2525
network stack.
26+
27+
Implementations of FetcherInterface only need to implement ``_fetch()``.
28+
The public API of the class is already implemented.
2629
"""
2730

2831
__metaclass__ = abc.ABCMeta

0 commit comments

Comments
 (0)