diff options
Diffstat (limited to 'gitlab/v4/objects/issues.py')
-rw-r--r-- | gitlab/v4/objects/issues.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gitlab/v4/objects/issues.py b/gitlab/v4/objects/issues.py index 8cd2317..c615144 100644 --- a/gitlab/v4/objects/issues.py +++ b/gitlab/v4/objects/issues.py @@ -152,7 +152,7 @@ class ProjectIssue( GitlabGetErrot: If the merge requests could not be retrieved Returns: - list: The list of merge requests. + The list of merge requests. """ path = f"{self.manager.path}/{self.get_id()}/related_merge_requests" result = self.manager.gitlab.http_get(path, **kwargs) @@ -165,15 +165,15 @@ class ProjectIssue( def closed_by(self, **kwargs: Any) -> Dict[str, Any]: """List merge requests that will close the issue when merged. - Args: - **kwargs: Extra options to send to the server (e.g. sudo) + Args: + **kwargs: Extra options to send to the server (e.g. sudo) - Raises: - GitlabAuthenticationError: If authentication is not correct - GitlabGetErrot: If the merge requests could not be retrieved + Raises: + GitlabAuthenticationError: If authentication is not correct + GitlabGetErrot: If the merge requests could not be retrieved - Returns: - list: The list of merge requests. + Returns: + The list of merge requests. """ path = f"{self.manager.path}/{self.get_id()}/closed_by" result = self.manager.gitlab.http_get(path, **kwargs) @@ -260,12 +260,12 @@ class ProjectIssueLinkManager(ListMixin, CreateMixin, DeleteMixin, RESTManager): """Create a new object. Args: - data (dict): parameters to send to the server to create the + data: parameters to send to the server to create the resource **kwargs: Extra options to send to the server (e.g. sudo) Returns: - RESTObject, RESTObject: The source and target issues + The source and target issues Raises: GitlabAuthenticationError: If authentication is not correct |