summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNejc Habjan <nejc.habjan@siemens.com>2022-07-29 23:16:27 +0200
committerGitHub <noreply@github.com>2022-07-29 23:16:27 +0200
commit98bdb9891313f176e7071c1e43f4b6306c8f30dc (patch)
tree92b3b42f10031e9771282fad06d2985ca97045ca
parent17414f787a70a0d916193ac71bccce0297c4e4e8 (diff)
parent7cccefe6da0e90391953734d95debab2fe07ea49 (diff)
downloadgitlab-98bdb9891313f176e7071c1e43f4b6306c8f30dc.tar.gz
Merge pull request #2203 from python-gitlab/jlvillal/project_repr
chore: change `_repr_attr` for Project to be `path_with_namespace`
-rw-r--r--gitlab/v4/objects/projects.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects/projects.py b/gitlab/v4/objects/projects.py
index 8f3b381..00c0d7e 100644
--- a/gitlab/v4/objects/projects.py
+++ b/gitlab/v4/objects/projects.py
@@ -155,7 +155,7 @@ class ProjectGroupManager(ListMixin, RESTManager):
class Project(RefreshMixin, SaveMixin, ObjectDeleteMixin, RepositoryMixin, RESTObject):
- _repr_attr = "path"
+ _repr_attr = "path_with_namespace"
access_tokens: ProjectAccessTokenManager
accessrequests: ProjectAccessRequestManager