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

Commit2457823

Browse files
author
Gauvain Pocentek
committed
Project: add VISIBILITY_* constants
They should be there instead of having them in the Group class.Variables in Group are keeped for compatibility.
1 parent0be4761 commit2457823

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎gitlab/objects.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,6 +1580,10 @@ class Project(GitlabObject):
15801580
('variables',ProjectVariableManager, [('project_id','id')]),
15811581
]
15821582

1583+
VISIBILITY_PRIVATE=0
1584+
VISIBILITY_INTERNAL=10
1585+
VISIBILITY_PUBLIC=20
1586+
15831587
defBranch(self,id=None,**kwargs):
15841588
warnings.warn("`Branch` is deprecated, use `branches` instead",
15851589
DeprecationWarning)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp