Skip to content

Commit

Permalink
Add a docstring for copy-repo [RHELDST-28512]
Browse files Browse the repository at this point in the history
Add docstring to the CopyRepo class for completing the docs generation.
  • Loading branch information
Gdetrane committed Jan 22, 2025
1 parent f6406b1 commit c5f5c33
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pubtools/_pulp/tasks/copy_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ def __call__(self, /, *args, **keywords):


class CopyRepo(CollectorService, PulpClientService, PulpRepositoryOperation):
"""
Copy content from one repository to another.
This command copies content from repository repo-A to repo-B. If the user provides a non existing repo, the command fails.
"""
@property
def content_type_criteria(self):
# Only return non-None if there were really any types given.
Expand Down

0 comments on commit c5f5c33

Please sign in to comment.