FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

refactor(objects): remove deprecated project.issuesstatistics by nejch · Pull Request #1595 · python-gitlab/python-gitlab · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (2) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
1 change: 0 additions & 1 deletion gitlab/v4/objects/projects.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ class Project(RefreshMixin, SaveMixin, ObjectDeleteMixin, RepositoryMixin, RESTO
imports: ProjectImportManager
issues: ProjectIssueManager
issues_statistics: ProjectIssuesStatisticsManager
issuesstatistics: ProjectIssuesStatisticsManager # Deprecated
jobs: ProjectJobManager
keys: ProjectKeyManager
labels: ProjectLabelManager
Expand Down
4 changes: 0 additions & 4 deletions tests/unit/objects/test_issues.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,3 @@ def test_get_project_issues_statistics(project, resp_issue_statistics):
statistics = project.issues_statistics.get()
assert isinstance(statistics, ProjectIssuesStatistics)
assert statistics.statistics["counts"]["all"] == 20

# Deprecated attribute
deprecated = project.issuesstatistics.get()
assert deprecated.statistics == statistics.statistics

Back | FazBrowse Home | New Git URL