Merge pull request #2208 from MVrachev/add-docstring

Updater: add missing config docstring
This commit is contained in:
Jussi Kukkonen 2022-12-06 19:27:03 +02:00 committed by GitHub
commit 45271efe3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,6 +74,8 @@ class Updater:
downloads. Can be individually set in ``download_target()``
fetcher: ``Optional``; ``FetcherInterface`` implementation used to
download both metadata and targets. Default is ``RequestsFetcher``
config: ``Optional``; ``UpdaterConfig`` could be used to setup common
configuration options.
Raises:
OSError: Local root.json cannot be read