cran.lister: Adapt docstring sample accordingly

This commit is contained in:
Antoine R. Dumont (@ardumont) 2020-01-09 10:54:49 +01:00
parent e1069f0c59
commit 0560b813b2
No known key found for this signature in database
GPG key ID: 52E2E9840D10C3B8

View file

@ -28,8 +28,11 @@ class CRANLister(SimpleLister):
"""Return task format dict. This creates tasks with args and kwargs
set, for example::
args: ['package', 'https://cran.r-project.org/...', 'version']
kwargs: {}
args: []
kwargs: {
'url': 'https://cran.r-project.org/...',
'version': '0.0.1'
}
"""
policy = kwargs.get('policy', 'oneshot')