Skip to content

Commit f8abe2d

Browse files
committed
refactor(objects): remove deprecated project.issuesstatistics
BREAKING CHANGE: remove deprecated project.issuesstatistics in favor of project.issues_statistics
1 parent 8236281 commit f8abe2d

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

gitlab/v4/objects/projects.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ class Project(RefreshMixin, SaveMixin, ObjectDeleteMixin, RepositoryMixin, RESTO
135135
imports: ProjectImportManager
136136
issues: ProjectIssueManager
137137
issues_statistics: ProjectIssuesStatisticsManager
138-
issuesstatistics: ProjectIssuesStatisticsManager # Deprecated
139138
jobs: ProjectJobManager
140139
keys: ProjectKeyManager
141140
labels: ProjectLabelManager

tests/unit/objects/test_issues.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,3 @@ def test_get_project_issues_statistics(project, resp_issue_statistics):
8686
statistics = project.issues_statistics.get()
8787
assert isinstance(statistics, ProjectIssuesStatistics)
8888
assert statistics.statistics["counts"]["all"] == 20
89-
90-
# Deprecated attribute
91-
deprecated = project.issuesstatistics.get()
92-
assert deprecated.statistics == statistics.statistics

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy