hub: document deleteExternalRepo arguments

Describe the type of the "info" argument to the delete_external_repo(),
and explain the GenericError when the repository does not exist.
This commit is contained in:
Ken Dreyer 2020-04-03 15:08:03 -06:00 committed by Tomas Kopecek
parent 5af4cdf297
commit beb7efc0e3

View file

@ -3651,7 +3651,12 @@ def edit_external_repo(info, name=None, url=None):
def delete_external_repo(info):
"""Delete an external repo"""
"""
Remove an external repository for any tags and delete it.
:param info: external repository name or ID number
:raises: GenericError if the repository does not exist.
"""
context.session.assertPerm('admin')