Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7cccefe

Browse files
chore: change_repr_attr for Project to bepath_with_namespace
Previously `_repr_attr` was `path` but that only gives the basename ofthe path. Sohttps://gitlab.com/gitlab-org/gitlab would only show"gitlab". Using `path_with_namespace` it will now show"gitlab-org/gitlab"
1 parent17414f7 commit7cccefe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎gitlab/v4/objects/projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class ProjectGroupManager(ListMixin, RESTManager):
155155

156156

157157
classProject(RefreshMixin,SaveMixin,ObjectDeleteMixin,RepositoryMixin,RESTObject):
158-
_repr_attr="path"
158+
_repr_attr="path_with_namespace"
159159

160160
access_tokens:ProjectAccessTokenManager
161161
accessrequests:ProjectAccessRequestManager

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp