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

Commit9fcd962

Browse files
authored
Merge pull request#1288 from python-gitlab/refactor/split-objects
refactor(v4): split objects and managers per API resource
2 parents76e6f87 +f05c287 commit9fcd962

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+6715
-5850
lines changed

‎gitlab/base.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@
1818
importimportlib
1919

2020

21+
__all__= [
22+
"RESTObject",
23+
"RESTObjectList",
24+
"RESTManager",
25+
]
26+
27+
2128
classRESTObject(object):
2229
"""Represents an object built from server data.
2330

‎gitlab/mixins.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,31 @@
2323
fromgitlabimportutils
2424

2525

26+
__all__= [
27+
"GetMixin",
28+
"GetWithoutIdMixin",
29+
"RefreshMixin",
30+
"ListMixin",
31+
"RetrieveMixin",
32+
"CreateMixin",
33+
"UpdateMixin",
34+
"SetMixin",
35+
"DeleteMixin",
36+
"CRUDMixin",
37+
"NoUpdateMixin",
38+
"SaveMixin",
39+
"ObjectDeleteMixin",
40+
"UserAgentDetailMixin",
41+
"AccessRequestMixin",
42+
"DownloadMixin",
43+
"SubscribableMixin",
44+
"TodoMixin",
45+
"TimeTrackingMixin",
46+
"ParticipantsMixin",
47+
"BadgeRenderMixin",
48+
]
49+
50+
2651
classGetMixin(object):
2752
@exc.on_http_error(exc.GitlabGetError)
2853
defget(self,id,lazy=False,**kwargs):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp