pagure/tasks: Add missing docstring for list_pagure task function
Missing docstring prevents the task type to be registered in scheduler database.
This commit is contained in:
parent
c81c473a83
commit
206ac680dc
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ from .lister import PagureLister
|
|||
|
||||
@shared_task(name=__name__ + ".PagureListerTask")
|
||||
def list_pagure(**lister_args) -> Dict[str, int]:
|
||||
"List git repositories hosted on a pagure forge."
|
||||
lister = PagureLister.from_configfile(**lister_args)
|
||||
return lister.run().dict()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue